Wednesday, January 23, 2013

Poor, confused C# compiler

A very interesting cause when C# compiled failed to handle a special case of cross-references in structures:

Poor, confused C# compiler

Now wonder that I don't know it! It's just because I don't use struct keyword very often :)

P.S. DON'T ASK THIS QUESTION DURING JOB INTERVIEW! INTERVIEWEE WOULD THINK THAT YOU ARE NOT VERY GOOD AT INTERVIEWING! :)

No comments: