Well what you were talking about with the default constructor for "primitive types". That is a function of a struct not a primitive type. Granted that might be how it was in other languages. But test it out if you create a struct and then just initialize it
and don't give it a constructor. It will be the same as doing the MyStruct m = new MyStruct. See I am not totally convinced of the primitive types in .Net yet. Because all languages have to compile to the same primitive types. So when C# is working with uint
VB is working with System.UInt32 and so on. by the way "int" does have a class it is System.Int32 and what looks like a primitive type to C# is actually something totally different to VB such as the uint I mentioned up above because VB doesn't have support
for uint. And if they were not in class form VB would not be able to access them.
Participant
792 Points
2233 Posts
Re: working with interfaces
Jan 10, 2004 12:10 PM|nberardi|LINK