What is extended method in c#

Answer Posted / aniket

small information : extension methods are nothing but visitor design pattern.

http://www.codeproject.com/Articles/34209/Extension-Methods-in-C

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Define a partial class?

506


What are circular references? How garbage collection deals with circular references.

544


What is Web.config?

550


What is view model in c#?

471


What does ienumerable mean?

484






What is an object pool in .net?

658


Are c# objects passed by reference?

471


If a method's return type is void, can you use a return keyword in the method?

547


Explain how can I get around scope problems in a try/catch?

492


Write a console application and implement the ternary operator to decide whether the age a user entered after being prompted is allowed to vote or not(given that only citizens between 18 and 120 years only inclusive can vote). Use exception handling for non-numerical input.

1903


How do I port "synchronized" functions from visual j++ to c#?

492


How can you prevent escaping on backslashes in C# with string definitions?

705


What is difference between Enum and Struct?

556


What is the system namespace?

481


Why do we use static methods in c#?

538