C# How do i define methods for the same class in mutliple files? -
I have a class that is getting bigger, how do I define it, such methods are different Can get in CS files?
You can declare your class. This allows you to split on multiple files.
// file 1: partial class test {public zero} method 1 () {...}} // file 2 partial class test {public zero method2 () {...} }
Comments
Post a Comment