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

Popular posts from this blog

c++ - Linux and clipboard -

Visual Studio 2005: How to speed up builds when a VSMDI is open? -

booting ubuntu from usb using virtualbox -