Skip to content

Instantly share code, notes, and snippets.

@dgrunwald
Created September 14, 2012 09:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dgrunwald/3721120 to your computer and use it in GitHub Desktop.
Save dgrunwald/3721120 to your computer and use it in GitHub Desktop.
class Program
{
public static void Main(string[] args)
{
bool b = false;
StringComparison s = 0;
var res = b ? 0.0f : s;
Console.WriteLine(res.GetType()); // prints System.StringComparison
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment