-----------------------------------------------------------
New Message on MumbaiUserGroup
-----------------------------------------------------------
From: VishalRJoshi
Message 73 in Discussion
Whidbey - Partial Classes
In Whidbey it would be possible to split huge class files into multiple
parts... The keyword used for that is partial... The same keyword works for
struct or an interface... When the assembly is compiled then all these files
will be merged into one... This can be usually useful when multiple people
have to work on same class or when auto generation is used...
Due to auto generation getting more and more popular now days the problem
that exits currently is that if you modify any code in auto generated files
then again auto generation with updates causes loss of the manual changes
made... by using partial classes you can separate the auto generated and
manually coded files...
e.g.
// This is the first file.cs
public partial class SameClass
{
public void AutoGenratedMethod()
{
}
}
// This is the second file.cs
public partial class SameClass
{
public void ManuallyCodedMethod()
{
}
}
PS: Next time you get a speeding citation do not pay it off directly... It
is better to appear in the court if possible and explain your scenario,
judges are usually understanding and if they do not reduce the fine they
will probably reduce the points on your drivers license... It also gives an
implied message that you are concerned about your citation and so are ready
to appear in the court... Many US states also provide you with an attorney
to fight for you in case you have not hired one... :-)
Vishal Joshi
Microsoft MVP .Net
If You Think YOU CAN... You Can...
http://VishalJoshi.Blogspot.com
http://www.microsoft.com/india/mvp/indiamvp.aspx
http://groups.msn.com/ChennaiNetUserGroup
http://groups.msn.com/CNUG-DAM
http://groups.msn.com/NetBloomingtonUserGroup
-----------------------------------------------------------
To stop getting this e-mail, or change how often it arrives, go to your E-mail
Settings.
http://groups.msn.com/MumbaiUserGroup/_emailsettings.msnw
Need help? If you've forgotten your password, please go to Passport Member Services.
http://groups.msn.com/_passportredir.msnw?ppmprop=help
For other questions or feedback, go to our Contact Us page.
http://groups.msn.com/contact
If you do not want to receive future e-mail from this MSN group, or if you received
this message by mistake, please click the "Remove" link below. On the pre-addressed
e-mail message that opens, simply click "Send". Your e-mail address will be deleted
from this group's mailing list.
mailto:[EMAIL PROTECTED]