Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
A class per file or multiple classes per file?
Message
From
25/05/2006 06:02:19
Mike Yearwood
Toronto, Ontario, Canada
 
General information
Forum:
ASP.NET
Category:
Other
Environment versions
Environment:
C# 2.0
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01124405
Message ID:
01124800
Views:
9
>That seems like a lot of files to manage.
>
>Do you only bring the files you need into the project?

Of course! Why do anything else?

>
>
>
>>>Hi all,
>>>
>>>Coding in C#, which is a better practice: put one class per file and allow the file share the same name as class name (like in Java) or put multiple classes in a file (like in VFP)?
>>
>>I do one class per file even in VFP!
>>
>>>
>>>I'm inclined toward the former since it's easier to find a class by just looking at the file name.
>>>
>>>Any suggestions or comments will be appreciated!
Previous
Reply
Map
View

Click here to load this message in the networking platform