skip to main
|
skip to sidebar
Knowledge Sharing
Tuesday, March 16, 2010
How to Get the Type Name
By using the .NET method GetType, we can get the type name of any local variable or object. This is how to use it:
Console.WriteLine(myVariable.GetType());
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
Blog Archive
July
(2)
February
(1)
March
(77)
February
(44)
January
(5)
Followers
No comments:
Post a Comment