title: Convert VBA select case to C#
body: <pre><code>Select Case True
   Case Not A.Name Is Nothing
     Set Name = A.Name
   Case Not A.Age Is Nothing
     Set Age = A.Age
   Case Not A.School Is Nothing
     Set School = A.School
  End Select
  </code></pre>
  <p>In VB <code>Select Case True </code>is allowed to use. But for C# it gives an error. How can I convert this  VB code to C# ?</p>