The answer to why this code works

So at the start of this week I put up a blog asking Why this code works, and to be honest I’ve grown quite a bit of an ego since then as no-one has been able to answer the question correctly.
One person did get close, but close doesn’t quite cut it ;)….


This content originally appeared on Posts on LINQ to Fail and was authored by Posts on LINQ to Fail

So at the start of this week I put up a blog asking Why this code works, and to be honest I've grown quite a bit of an ego since then as no-one has been able to answer the question correctly. One person did get close, but close doesn't quite cut it ;). Well the answer is actually very simple, and it's a really handy feature of the C# language, explicit operators.


This content originally appeared on Posts on LINQ to Fail and was authored by Posts on LINQ to Fail


Print Share Comment Cite Upload Translate
APA
Posts on LINQ to Fail | Sciencx (2022-12-08T15:52:09+00:00) » The answer to why this code works. Retrieved from https://www.scien.cx/2010/01/23/the-answer-to-why-this-code-works/.
MLA
" » The answer to why this code works." Posts on LINQ to Fail | Sciencx - Saturday January 23, 2010, https://www.scien.cx/2010/01/23/the-answer-to-why-this-code-works/
HARVARD
Posts on LINQ to Fail | Sciencx Saturday January 23, 2010 » The answer to why this code works., viewed 2022-12-08T15:52:09+00:00,<https://www.scien.cx/2010/01/23/the-answer-to-why-this-code-works/>
VANCOUVER
Posts on LINQ to Fail | Sciencx - » The answer to why this code works. [Internet]. [Accessed 2022-12-08T15:52:09+00:00]. Available from: https://www.scien.cx/2010/01/23/the-answer-to-why-this-code-works/
CHICAGO
" » The answer to why this code works." Posts on LINQ to Fail | Sciencx - Accessed 2022-12-08T15:52:09+00:00. https://www.scien.cx/2010/01/23/the-answer-to-why-this-code-works/
IEEE
" » The answer to why this code works." Posts on LINQ to Fail | Sciencx [Online]. Available: https://www.scien.cx/2010/01/23/the-answer-to-why-this-code-works/. [Accessed: 2022-12-08T15:52:09+00:00]
rf:citation
» The answer to why this code works | Posts on LINQ to Fail | Sciencx | https://www.scien.cx/2010/01/23/the-answer-to-why-this-code-works/ | 2022-12-08T15:52:09+00:00
https://github.com/addpipe/simple-recorderjs-demo