¡@

Home 

c# Programming Glossary: ericlippert

Why C# is not allowing non-member functions like C++ [closed]

http://stackoverflow.com/questions/1024171/why-c-sharp-is-not-allowing-non-member-functions-like-c

this question See this blog posting http blogs.msdn.com ericlippert archive 2009 06 22 why doesn t c implement top level methods.aspx.. and this follow up posting http blogs.msdn.com ericlippert archive 2009 06 24 it already is a scripting language.aspx ..

C# ?: Conditional Operator

http://stackoverflow.com/questions/1171717/c-sharp-conditional-operator

see my blog article on that subject http blogs.msdn.com ericlippert archive 2009 03 19 representation and identity.aspx Basically..

C# : Why doesn't 'ref' and 'out' support polymorphism?

http://stackoverflow.com/questions/1207144/c-sharp-why-doesnt-ref-and-out-support-polymorphism

as the basis for this blog entry http blogs.msdn.com ericlippert archive 2009 09 21 why do ref and out parameters not allow type.. and contravariance work in C# 4.0 http blogs.msdn.com ericlippert archive tags Covariance and Contravariance default.aspx share..

Interesting “params of ref” feature, any workarounds?

http://stackoverflow.com/questions/1776020/interesting-params-of-ref-feature-any-workarounds

type by putting them on the stack http blogs.msdn.com ericlippert archive 2009 05 04 the stack is an implementation detail part..

Using var outside of a method

http://stackoverflow.com/questions/1929492/using-var-outside-of-a-method

question My article on the subject http blogs.msdn.com ericlippert archive 2009 01 26 why no var on fields.aspx share improve..

C# overloading resolution?

http://stackoverflow.com/questions/2933674/c-sharp-overloading-resolution

brittle base class failures see http blogs.msdn.com b ericlippert archive tags brittle base classes and for more thoughts on overload.. thoughts on overload resolution see http blogs.msdn.com b ericlippert archive tags overload resolution share improve this answer..

Generic methods and method overloading

http://stackoverflow.com/questions/3679562/generic-methods-and-method-overloading

Yes. See these articles for details http blogs.msdn.com b ericlippert archive 2006 04 05 odious ambiguous overloads part one.aspx.. ambiguous overloads part one.aspx http blogs.msdn.com b ericlippert archive 2006 04 06 odious ambiguous overloads part two.aspx..

Why are C# structs immutable?

http://stackoverflow.com/questions/3751911/why-are-c-sharp-structs-immutable

about immutable programming at http blogs.msdn.com b ericlippert archive tags immutability I was just curious to know why structs..

The call stack does not say “where you came from”, but “where you are going next”?

http://stackoverflow.com/questions/6595473/the-call-stack-does-not-say-where-you-came-from-but-where-you-are-going-next

to CPS with examples in JScript http blogs.msdn.com b ericlippert archive 2005 08 08 recursion part four continuation passing.. four continuation passing style.aspx http blogs.msdn.com b ericlippert archive 2005 08 11 recursion part five more on cps.aspx http.. recursion part five more on cps.aspx http blogs.msdn.com b ericlippert archive 2005 08 15 recursion part six making cps work.aspx Here..

If strings are immutable in .NET, then why does Substring take O(n) time?

http://stackoverflow.com/questions/6742923/if-strings-are-immutable-in-net-then-why-does-substring-take-on-time

so much I just blogged it. See http blogs.msdn.com b ericlippert archive 2011 07 19 strings immutability and persistence.aspx..

No type inference with generic extension method

http://stackoverflow.com/questions/7171067/no-type-inference-with-generic-extension-method

see my article on the subject http blogs.msdn.com b ericlippert archive 2009 12 10 constraints are not part of the signature.aspx..

Implicit typing; why just local variables?

http://stackoverflow.com/questions/824739/implicit-typing-why-just-local-variables

an entire blog post on the subject. http blogs.msdn.com ericlippert archive 2009 01 26 why no var on fields.aspx In summary the..

Lambda Expression using Foreach Clause [duplicate]

http://stackoverflow.com/questions/858978/lambda-expression-using-foreach-clause

eric referrrred to in the comments http blogs.msdn.com ericlippert archive 2009 05 18 foreach vs foreach.aspx ORIG More of a curiosity..