>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'm inclined toward the former since it's easier to find a class by just looking at the file name.
I prefer to always put one class in one file. Among other advantages, this allows me to visually better recognize the Imports declarations to the class. If I have multiple classes, it is not obvious to which class the Imports declarations are used into. I also name the file as per the class name. So, this is also another advantage I have found.