Constructor & Partial Class?

G

Guest

I noticed in ASP.net 2.0 when a new class is created a contructor is not
created as it was in ASP.net 1.1. Does any one know why the constructor is
not there. Can I add a contructor? Also how is a "partial class" different
from a class?
 
P

Przemek Ptasznik

petro napisał(a):
I noticed in ASP.net 2.0 when a new class is created a contructor is not
created as it was in ASP.net 1.1. Does any one know why the constructor is
not there. Can I add a contructor? Also how is a "partial class" different
from a class?

whole secret is in "partial" keyword. It allows class to be spanned
through more than one files. I think the rest is clear:)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,230
Members
46,819
Latest member
masterdaster

Latest Threads

Top