Tutorials
Resources
Forum
Communities
Interview
Jobs
Projects
Offshore Development
Silverlight Tutorials
|
Mentor
|
Code Converter
|
Articles
|
Code Factory
|
Computer Jokes
|
Members
|
Peer Appraisal
|
IT Companies
|
Bookmarks
|
Revenue Sharing
|
Prizes & Awards
My Profile
Sign In
Register
AdSense Revenue
Active Members
Today
Murugan
(14)
lalitha
(11)
Deepika Harida...
(11)
Last 7 Days
amarababu nara...
(1208)
Arun Jacob
(1204)
Pradeep Y
(1100)
more...
New Feature:
Community Sites
:
Create your own .NET community website and start earning from Google AdSense !
It's Free !
Partial methods C# 3.0
Posted Date: 03 Jun 2008 Resource Type:
Definitions
Category:
General
Posted By:
shakti singh tanwar
Member Level:
Diamond
Rating:
Points
: 5
Partial methods are methods that enable lightweight event handling. Here is an example declaration:
partial class C
{
static partial void M(int i);
}
There are a few notable things here:
1. Partial methods must be declared within partial classes
2. Partial methods are indicated by the partial modifier
3. Partial methods do not always have a body (well look at this more below)
4. Partial methods must return void
5. Partial methods can be static
6. Partial methods can have arguments (including this, ref, and params modifiers)
7. Partial methods must be private
Responses
No responses found. Be the first to respond and make money from
revenue sharing program
.
Feedbacks
Popular Tags
What are tags ?
Search Tags
Sign In
(No tags found.)
Post Feedback
This is a strictly moderated forum. Only approved messages will appear in the site. Please use 'Spell Check' in Google toolbar before you submit.
You must
Sign In
to post a response.
Next Resource:
LINQ
Previous Resource:
ActiveX Control Importer tool -- Aximp.exe
Return to Discussion Resource Index
Post New Resource
Category:
General
Post resources and
earn money
!
Related Resources
What is Data Provider?
ERP Definition
Assembly
Differences between ADO and ADO .NET
JSON
dotNet Slackers
BizTalk Adaptors
Web Design
it support
Contact Us
Privacy Policy
Terms Of Use