MedRisk interview question

Question covered general knowledge of both C# and SQL.