¡@

Home 

c# Programming Glossary: eric

Why can't I unbox an int as a decimal?

http://stackoverflow.com/questions/1085097/why-cant-i-unbox-an-int-as-a-decimal

a widening conversion For the reason behind this read this Eric Lippert's blog entry Representation and Identity Personally..

Virtual member call in a constructor

http://stackoverflow.com/questions/119506/virtual-member-call-in-a-constructor

in order from the base class to the most derived class see Eric Lippert's blog for details as to why this is . Also in .NET..

Why covariance and contravariance do not support value type

http://stackoverflow.com/questions/12454794/why-covariance-and-contravariance-do-not-support-value-type

perform a boxing conversion or not. You might want to read Eric Lippert's blog post on representation and identity for more.. for more on this topic in general. EDIT Having reread Eric's blog post myself it's at least as much about identity as representation..

Why cannot C# generics derive from one of the generic type parameters like they can in C++ templates? [duplicate]

http://stackoverflow.com/questions/1842636/why-cannot-c-sharp-generics-derive-from-one-of-the-generic-type-parameters-like

instance examine this fictional declaration class C T T As Eric Lippert has noticed what if What if T is a struct What if T.. What about System.Delegate System.Enum and so on As Eric continues Those are the easy obvious ones . Indeed he is right...

Does using “new” on a strict allocate it on the heap or stack?

http://stackoverflow.com/questions/203695/does-using-new-on-a-strict-allocate-it-on-the-heap-or-stack

the C# compiler is able to reuse the same stack slot. See Eric Lippert's blog post on value type construction for more details..

What to use: var or object name type? [duplicate]

http://stackoverflow.com/questions/236878/what-to-use-var-or-object-name-type

Edit I just reread Jon Skeet's post and this quote from Eric Lippert jumped out at me Implicitly typed locals are just one..

Casting: (NewType) vs. Object as NewType [duplicate]

http://stackoverflow.com/questions/2483/casting-newtype-vs-object-as-newtype

answer is certainly the most pronounced difference but as Eric Lippert points out it's not the only one. Other differences..

Breaking changes in .NET 4.0

http://stackoverflow.com/questions/2548106/breaking-changes-in-net-4-0

and contravariance breaking changes mentioned by Eric Lippert and events changes discussed by Chris Burrows. There..

Why C# doesn't implement indexed properties?

http://stackoverflow.com/questions/2806894/why-c-sharp-doesnt-implement-indexed-properties

C# doesn't implement indexed properties I know I know... Eric Lippert's answer to this kind of question is usually something..

Checking for null before event dispatching… thread safe?

http://stackoverflow.com/questions/282653/checking-for-null-before-event-dispatching-thread-safe

solution might invoke code that cannot run properly. See Eric Lippert's excellent blog entry for more details. Also see this..

Why does C# forbid generic attribute types?

http://stackoverflow.com/questions/294216/why-does-c-sharp-forbid-generic-attribute-types

decision rather than a runtime one. EDIT Answer from Eric Lippert paraphrased no particular reason except to avoid complexity..

What is the difference between casting and conversion? [duplicate]

http://stackoverflow.com/questions/3166840/what-is-the-difference-between-casting-and-conversion

Is casting the same thing as converting 12 answers Eric Lippert's comments in this question have left me thoroughly.. casting share improve this question I believe what Eric is trying to say is Casting is a term describing syntax hence..

Why can't yield return appear inside a try block with a catch?

http://stackoverflow.com/questions/346365/why-cant-yield-return-appear-inside-a-try-block-with-a-catch

a yield return Update There's an interesting comment from Eric Lippert here seems that they already have enough problems implementing..

Question about C# covariance

http://stackoverflow.com/questions/4034495/question-about-c-sharp-covariance

be okay but wouldn't be For lots of detail on variance see Eric Lippert's blog post series on it or watch the video of my talk..

How could the new async feature in c# 5.0 be implemented with call/cc?

http://stackoverflow.com/questions/4070237/how-could-the-new-async-feature-in-c-sharp-5-0-be-implemented-with-call-cc

the new c# compiler makes to code like this snippet from Eric Lippert's post async void ArchiveDocuments List Url urls Task..

Why class fields cannot be var?

http://stackoverflow.com/questions/4461597/why-class-fields-cannot-be-var

what's the difference c# share improve this question Eric Lippert answered your question right here Why no var on fields..

GetHashCode Guidelines in C#

http://stackoverflow.com/questions/462451/gethashcode-guidelines-in-c-sharp

GetHashCode implementations is a pain in the butt. Update Eric Lippert has posted a blog that gives excellent information on..

C# Events and Thread Safety

http://stackoverflow.com/questions/786383/c-sharp-events-and-thread-safety

threads requires a lot more work. Update in response to Eric Lippert's blog posts So there's a major thing I'd missed about..