The partial keyword allows the class, struct, or interface to span across multiple files. Typically a class will reside entirely in a single file. However, in situations where multiple developers need access to the same class, or more likely in the situation where a code generator of some type is generating part of a class, then having the class in multiple files can be beneficial.
ref: http://www.aspdotnetfaqs.com/
Tuesday, July 8, 2008
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment