No announcements
Found 2950172 threads
-
0 Votes
calling an Extension Method from another Extension method
Yes: An extension method can call an another extension method: Please find the following example:Answered | 4 Replies | 3864 Views | Created by RajeshMoriyani - Monday, June 9, 2008 10:24 PM | Last reply by RajeshMoriyani - Tuesday, June 10, 2008 9:52 PM -
1 Votes
Extension Method
Extension methods must be a static method defined in a static, non-nested (i.e.: top-level), non-generic class.Answered | 1 Replies | 742 Views | Created by SURYA KANT NAYAK - Thursday, June 5, 2014 5:51 PM | Last reply by Wyck - Thursday, June 5, 2014 6:27 PM -
0 Votes
Static in Extension methods
Why extension method is static?Answered | 2 Replies | 735 Views | Created by Arash_89 - Friday, July 24, 2015 8:58 PM | Last reply by far sunrise - Saturday, July 25, 2015 1:01 AM -
0 Votes
Extension Methods
How to: Extension Methods (C# Programming Guide) Classified SR-2 | 2x Xeon W5580 - 3.20 GHz | 12x 2GB Kingston ...Answered | 2 Replies | 1390 Views | Created by Manoj Gokhale - Sunday, December 30, 2012 8:16 AM | Last reply by VendorX - Sunday, December 30, 2012 11:44 AM -
0 Votes
On extension method
In C#, extension methods are a special kind of static method.Answered | 5 Replies | 3105 Views | Created by Reed Cao - Wednesday, May 12, 2010 3:07 AM | Last reply by Michael Sun [MSFT] - Monday, May 17, 2010 8:46 AM -
2 Votes
Bad Usage of Extension Methods
Use logic when creating extension methods.Answered | 3 Replies | 5705 Views | Created by HarisM - Thursday, April 29, 2010 1:42 PM | Last reply by Louis.fr - Thursday, April 29, 2010 2:12 PM -
0 Votes
Base class method or Extension method
.extension methods should only be used for when trying to extend a Types behaviour that cant be extended otherwise " - I think you put it very good.Answered | 3 Replies | 4323 Views | Created by sand133 - Wednesday, August 19, 2009 7:01 AM | Last reply by Matthew Watson - Wednesday, August 19, 2009 9:27 AM -
0 Votes
Implement an extension method in an interface
Extension method is just a static method that appears as instance method due to compiler magic.Answered | 4 Replies | 691 Views | Created by YosrJ - Friday, August 5, 2016 2:25 PM | Last reply by Kareninstructor - Friday, August 5, 2016 3:07 PM -
0 Votes
generic method as extension method
I am actually calling the method, whereas you are not calling the method.Answered | 4 Replies | 2965 Views | Created by Schwartzberg - Wednesday, February 25, 2009 2:41 PM | Last reply by Schwartzberg - Wednesday, February 25, 2009 5:46 PM -
0 Votes
Method Extension
hi, As far i know, it is not possible because 'Console' is a static class and to access an extension method you need an instance of a class.Answered | 1 Replies | 1337 Views | Created by Shivi Gupta - Monday, October 29, 2012 6:20 AM | Last reply by VinilV - Monday, October 29, 2012 6:28 AM -
0 Votes
Use of extension method.
Hello, Checkout my GitHub repository on language extensions and Microsoft TechNet article.Answered | 3 Replies | 839 Views | Created by MRUTYUNJAYA.M - Tuesday, February 5, 2019 5:12 AM | Last reply by Dave Doknjas - Tuesday, February 5, 2019 3:56 PM -
0 Votes
Extension Methods :: WHat are these ?
They introduce dynamism in your class design, and are another step forward towards making C# a dynamic language.Answered | 4 Replies | 7027 Views | Created by Manoj.verma - Wednesday, January 19, 2011 12:45 PM | Last reply by Manoj.verma - Thursday, January 27, 2011 11:40 AM -
0 Votes
using Extension methods on an IList
i am asking about calling existing lambda extensions.Answered | 4 Replies | 8315 Views | Created by SoulSoniC - Thursday, July 30, 2009 8:49 PM | Last reply by SoulSoniC - Friday, August 7, 2009 7:44 PM -
0 Votes
Linq to Entity Extension methods
So even if you create a client side extension method, when you use this in a LINQ query, the LINQ Provider have no idea about how to translate this to a server side ...Answered | 1 Replies | 3475 Views | Created by Yannick Lapierre - Thursday, April 12, 2012 9:41 AM | Last reply by Patrice Scribe - Thursday, April 12, 2012 10:01 AM -
0 Votes
extension method in C++
I was hoping there was some kind of attribute I can tag my method parameter wih to make it an extension method!!Answered | 11 Replies | 7502 Views | Created by Lloyd - Monday, February 4, 2013 12:28 PM | Last reply by _hyperdiamond_ - Friday, September 6, 2013 10:49 AM -
1 Votes
Design Pattern - Extension Method
But I don’t think Extension Method is the implementation of Decorator Pattern.Answered | 4 Replies | 4047 Views | Created by Raj Krish - Thursday, September 12, 2013 10:39 AM | Last reply by Raj Krish - Monday, September 16, 2013 6:13 AM -
0 Votes
Does a native class method "overrides" an extension method ?
The extension tried to avoid the enumeration.Answered | 2 Replies | 647 Views | Created by Ybaca - Sunday, December 24, 2017 7:11 PM | Last reply by Viorel_ - Sunday, December 24, 2017 9:48 PM -
0 Votes
Contracts on extension methods
Since I've set the squiggles option, I get the extension method call underlined and clicking on the warning takes me to that line.Answered | 4 Replies | 4660 Views | Created by Luis Miguel Abreu - Wednesday, April 7, 2010 9:46 AM | Last reply by Luis Miguel Abreu - Monday, April 12, 2010 8:53 AM -
3 Votes
Unconditional returns from Extension Methods
You could say, as you seem to be, that the compiler should figure out that the class you instantiated is an exception, you are calling its throw method and that you ...Answered | 6 Replies | 2543 Views | Created by wtfChris - Thursday, July 28, 2011 4:40 PM | Last reply by Patrick Rodgers - Friday, July 29, 2011 4:43 PM -
0 Votes
call List(Of T) Class Extension Methods
Extension Methods (Visual Basic).Answered | 1 Replies | 1616 Views | Created by fsze88ATmeDOTcom - Tuesday, August 14, 2012 6:17 AM | Last reply by Andrew Morton - Tuesday, August 14, 2012 7:59 AM - Items 1 to 20 of 2950172 Next ›
No announcements