Where are operators defined in C# ?
Anyone can explain how C# compiler knows what operator exist? Where actually these operators are defined? For ex: how compiler know '+' exist ?
3 Answers
Know the answer? Post it. Somebody with the same question will find it here.

VulpesRank #55 · 29.2K reputationPosted Apr 10, 2014, 8:42 AM EDT
http://www.c-sharpcorner.com/Ebooks/Free/83/
The rules for using these operators are built into the compiler as is the grammar for the language as a whole.
chakresh singh7 reputationPosted Apr 10, 2014, 8:59 AM EDT
VulpesRank #55 · 29.2K reputationPosted Apr 10, 2014, 9:42 AM EDT
However, the C# compiler has recently been rewritten in C# itself (as part of the Roslyn project) and open sourced. You can therefore browse the source code if you like:
http://roslyn.codeplex.com/