Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Cost for .Net
Message
 
 
To
08/02/2002 13:10:19
General information
Forum:
ASP.NET
Category:
Other
Title:
Miscellaneous
Thread ID:
00609123
Message ID:
00617602
Views:
31
>>This is true. You don't need import the System class for that matter.
>>
public class Class1{}
>>I was trying to give a "fair" comparison against John's VB example.
>
>Interesting, so John's two lines can be written as one line in C#? I wonder why he chose to complicate the C# code and not the VB.NET code.

Don't know. Of course you can't do much if you don't at least import the system class. I have done this before when creating a "global" include class to define properties that need to be shared such as connection strings, Database names, Test/Production flags, etc.

John is probably refering to the System class being imported without having to actually type "Import System". Kinda of minor since when you create a new class in C# the "using System" line is automatically type in for you.
Michael McLain
Previous
Reply
Map
View

Click here to load this message in the networking platform