Click here to Skip to main content
12,998,363 members (60,319 online)
Rate this:
Please Sign up or sign in to vote.
See more:
Hi All,

When i create a website or web application using C# 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.

Posted 26-Feb-13 1:12am

1 solution

Rate this: bad
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.

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.170622.1 | Last Updated 26 Feb 2013
Copyright © CodeProject, 1999-2017
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