visual studio - C# - overloaded extension methods -


in pretty basic studying exercise using linkedlist , when needed return last element mistakingly used method last() instead of property last , started wonder.

this method extension method of ienumerable, if it's not overloaded (visual studio + resharper displaying me basic ienumerable extension method signature method), inefficient.

the linkedlist msdn page specifies of extension methods "overloaded." i'm not sure means(clicking method link displays basic method's explanation) , why doesn't visual studio + resharper show me.

thanks.

an easy mistake make confuse overloading overriding. when msdn page saying methods overloaded, means there multiple versions of methods different parameters.

you cannot override extension methods since static.


Comments

Popular posts from this blog

android - Spacing between the stars of a rating bar? -

aspxgridview - Devexpress grid - header filter does not work if column is initially hidden -

c# - How to execute a particular part of code asynchronously in a class -