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 -

What is expire header and how to achive them in ASP.NET and PHP? -

sql server - How can I determine which of my SQL 2005 statistics are unused? -