I am trying to convert the example provided in MSDN article Creating Dynamic Data Entry User Interfaces to C#, but am stuck at the following code:
CType(dq, IUIBuildingBlock).QuestionText = reader("QuestionText")
How do I convert the above VB.NET statement to C#?
DirectCast
rather thanCType
, so I'm not voting to close. – Damask