multiple classes in one file c# code example Example: C# define class in multiple files public partial ClassName { // code }