Use System.Type <http://msdn.microsoft.com/en-us/library/system.type.aspx>:-)


On Fri, Apr 30, 2010 at 9:45 AM, Arjang Assadi <arjang.ass...@gmail.com>wrote:

> I need to have method with a a signature looking like this
>
> RegisterForm( typeof(Form) formType)
>
> where the forn type is actually a class refrence ( Delphi parlance,
> what are class refrences are called in C#?).
>
> so I would be able to call it like this :
>
> RegiterForm( typeOf(Form1) );
>
> Any further references sugeestions links?
>
> Thank you
>
> Regards
>
> if [OT] is short for [Off Topic], what is the short for [On Topic] ?  :)
>

Reply via email to