Why extension method is static?
Answer / Himanshu Singh
Extension methods are static to ensure that an instance of the extended class does not have to be created for the extension method to work. This way, they can extend existing classes without requiring access to non-static members.
| Is This Answer Correct ? | 0 Yes | 0 No |
Explain synchronous and asynchronous operations?
How does dictionary work in c#?
What is the use of multicast delegate while methods of multicast delegate do not execute in a order?
hi , how could i analyse a text the user added on a site to look for some words like "car" "shouffere" .. and then i can use that information in addition to other information to make a decision about the adds im going to to show on the site.
How will you deploy the dll file in gac?
Why delegate is used in c#?
Does the variables of a private class-level inherited?
What is a delegate how is it type safe?
When you inherit a protected class-level variable, who is it available to?
What are Uses of CLR
How do I type a whitespace character?
What is Inheritance in C#?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)