-
Website
http://blog.ashmind.com/ -
Original page
http://blog.ashmind.com/index.php/2007/09/20/simple-typeswitch-in-c-30-part-2-the-solutions/ -
Subscribe
All Comments -
Community
-
Top Commenters
-
Busby SEO Test
1 comment · 1 points
-
Weex
1 comment · 2 points
-
ctacke
1 comment · 1 points
-
nkohari
1 comment · 3 points
-
color_chart
1 comment · 0 points
-
-
Popular Threads
string result = Switch.Type(document)
.Case((XsltDocument d) => null)
.Case((XmlDocument d) => “Xml”)
.Otherwise(d => “Not Xml and not Xslt”)
.Result;
Type inference has its limits.
Can I use this info on my blog using the direct link to your blog? Thanks in advance