c# - What is a partial class? -


what , how can used in c#.
can use same concept in python/perl?

the c# partial class has been explained here i'll cover python part. can use multiple inheritance elegantly distribute definition of class.

class a_part1:     def m1(self):         print "m1"  class a_part2:     def m2(self):         print "m2"  class a(a_part1, a_part2):     pass  = a() a.m1() a.m2() 

Comments

Popular posts from this blog

c++ - How do I get a multi line tooltip in MFC -

asp.net - In javascript how to find the height and width -

c# - DataTable to EnumerableRowCollection -