Click here to Skip to main content
12,449,910 members (46,056 online)
Rate this:
 
Please Sign up or sign in to vote.
See more: ASP.NET
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 26-Feb-13 1:12am

1 solution

Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 1

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.
  Permalink  

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

  Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy | Mobile
Web01 | 2.8.160826.1 | Last Updated 26 Feb 2013
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100