Click here to Skip to main content
15,867,488 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
can we make use of delegates anywhere in the project or different project.
if develop the project with class with main function

thanq
Posted
Comments
BillWoodruff 19-Nov-11 3:20am    
Are you asking about "extension methods" or "delegates" ?
Sergey Alexandrovich Kryukov 19-Nov-11 20:41pm    
Yes, the question does not make sense. It's apparent the OP is confused with both features, recommended to read some C# manual in detail, perhaps from the very beginning.
--SA

You can use Extension Methods anywhere where the definition is visible i.e. you must have referenced the containing class in your project file.
 
Share this answer
 
look at belowing link..

http://www.dotnetperls.com/extension[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900