Click here to Skip to main content
15,886,584 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi All,


When i create a website or web application using C# Asp.net the cs page (example Default.aspx.cs) is created with a partial class. Why we use the partial class instead of class in the code behind. What is the advantage of partial class.



Thanks.
Posted

1 solution

I can explain that here but it won't be the worth the time I waste in writing it. There are lots of articles out there explaining it very well.
Google is your friend. Do read these - partial class[^].

Get back if you don't understand anything.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900