Guest learn Posted September 4, 2002 Posted September 4, 2002 Hi, I noticed that even a variable with integer type can have dot: Dim i as integer Console.Writeline(i.ToString) So, that is about a class? the above 'i' is an object? Quote
gallicus Posted September 4, 2002 Posted September 4, 2002 Value types, such as an integer, are treated as if they derive from System.Object which means they behave as objects. Quote
*Gurus* Derek Stone Posted September 4, 2002 *Gurus* Posted September 4, 2002 Integer (Int32) is actually a value type structure, not a class. Quote Posting Guidelines
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.