﻿<?xml version="1.0" encoding="utf-8"?><rss version="2.0"><channel><title>Ayende @ Rahien</title><link>http://ayende.com</link><description>Ayende @ Rahien</description><copyright>Copyright (C) Ayende Rahien  2004 - 2021 (c) 2026</copyright><ttl>60</ttl><item><title>Marc Gravell commented on Riddle me this? What is the type?</title><description>&gt; there's no difference in current version of CLR
  
  
Just a pedantic point; the CLR doesn't get to choose here - it is the *language* that defines both the "long" keyword and the conversion rules that it chooses to follow (and how to implement them). And "long" is /defined/ as an alias to global::System.Int64, so we should be OK for the time being...
</description><link>http://ayende.com/4493/riddle-me-this-what-is-the-type#comment11</link><guid>http://ayende.com/4493/riddle-me-this-what-is-the-type#comment11</guid><pubDate>Mon, 10 May 2010 12:39:59 GMT</pubDate></item><item><title>Kaare Skovgaard commented on Riddle me this? What is the type?</title><description>Nevermind, I must've been drunk.
</description><link>http://ayende.com/4493/riddle-me-this-what-is-the-type#comment10</link><guid>http://ayende.com/4493/riddle-me-this-what-is-the-type#comment10</guid><pubDate>Mon, 10 May 2010 00:17:17 GMT</pubDate></item><item><title>Paul Batum commented on Riddle me this? What is the type?</title><description>Since an implicit conversion exists from int32 to int64 and not vice versa, the type of this expression is int64. See the C# spec:
  
[http://msdn.microsoft.com/en-us/library/aa691313](http://msdn.microsoft.com/en-us/library/aa691313)(VS.71).aspx
</description><link>http://ayende.com/4493/riddle-me-this-what-is-the-type#comment9</link><guid>http://ayende.com/4493/riddle-me-this-what-is-the-type#comment9</guid><pubDate>Sun, 09 May 2010 22:42:17 GMT</pubDate></item><item><title>Kaare Skovgaard commented on Riddle me this? What is the type?</title><description>That would be a boolean.
</description><link>http://ayende.com/4493/riddle-me-this-what-is-the-type#comment8</link><guid>http://ayende.com/4493/riddle-me-this-what-is-the-type#comment8</guid><pubDate>Sun, 09 May 2010 16:04:31 GMT</pubDate></item><item><title>Diego Mijelshon commented on Riddle me this? What is the type?</title><description>It's long; the second part of the expression is automatically converted, which makes the conditional unnecessary.
</description><link>http://ayende.com/4493/riddle-me-this-what-is-the-type#comment7</link><guid>http://ayende.com/4493/riddle-me-this-what-is-the-type#comment7</guid><pubDate>Sun, 09 May 2010 13:47:09 GMT</pubDate></item><item><title>Stefan Wenig commented on Riddle me this? What is the type?</title><description>only if you remove the extra semicolon. sorry, I was just nitpicking.
</description><link>http://ayende.com/4493/riddle-me-this-what-is-the-type#comment6</link><guid>http://ayende.com/4493/riddle-me-this-what-is-the-type#comment6</guid><pubDate>Sun, 09 May 2010 13:44:52 GMT</pubDate></item><item><title>Ayende Rahien commented on Riddle me this? What is the type?</title><description>Stefan,
  
This is an expression.
  
As a proof of that, you can put that thing in a 3.5 linq expression (which doesn't support statements).
  
</description><link>http://ayende.com/4493/riddle-me-this-what-is-the-type#comment5</link><guid>http://ayende.com/4493/riddle-me-this-what-is-the-type#comment5</guid><pubDate>Sun, 09 May 2010 12:41:55 GMT</pubDate></item><item><title>tobi commented on Riddle me this? What is the type?</title><description>I do not see the riddle here...
</description><link>http://ayende.com/4493/riddle-me-this-what-is-the-type#comment4</link><guid>http://ayende.com/4493/riddle-me-this-what-is-the-type#comment4</guid><pubDate>Sun, 09 May 2010 12:18:19 GMT</pubDate></item><item><title>Hadi Eskandari commented on Riddle me this? What is the type?</title><description>As Robert said, it would be long.
</description><link>http://ayende.com/4493/riddle-me-this-what-is-the-type#comment3</link><guid>http://ayende.com/4493/riddle-me-this-what-is-the-type#comment3</guid><pubDate>Sun, 09 May 2010 10:26:16 GMT</pubDate></item><item><title>Anon commented on Riddle me this? What is the type?</title><description>short?
</description><link>http://ayende.com/4493/riddle-me-this-what-is-the-type#comment2</link><guid>http://ayende.com/4493/riddle-me-this-what-is-the-type#comment2</guid><pubDate>Sun, 09 May 2010 10:04:55 GMT</pubDate></item><item><title>Robert commented on Riddle me this? What is the type?</title><description>Int64 (or long) - there's no difference in current version of CLR
</description><link>http://ayende.com/4493/riddle-me-this-what-is-the-type#comment1</link><guid>http://ayende.com/4493/riddle-me-this-what-is-the-type#comment1</guid><pubDate>Sun, 09 May 2010 09:23:53 GMT</pubDate></item></channel></rss>