.NET
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

multiple namespaces in same file

0 REPLIES 0
Reply
Message 1 of 1
elMarko
1029 Views, 0 Replies

multiple namespaces in same file

coming from vb6 i'm used to a class being in a .cls file - (one object per file)

in c# I see one can have multiple namespaces in a single .cs file and multiple classes in a namespace.

Wondering how people use this, what is advantage/disadvantage of:

multiple namespaces in one file

single namespace per file

multiple classes in one namespace

single class in one file or namespace

thanks

0 REPLIES 0

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk DevCon in Munich May 28-29th


Autodesk Design & Make Report

”Boost