<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/'><id>tag:blogger.com,1999:blog-3923359343089034996.post6455474178760317253..comments</id><updated>2009-02-13T13:28:21.250-08:00</updated><category term='Wayne'/><category term='Vista'/><category term='Visual Studio'/><category term='Twitter'/><category term='MVC'/><category term='Steve'/><category term='Mango'/><category term='Source Control'/><category term='GUID'/><category term='SQL Server'/><category term='Startups'/><category term='CodeSmith'/><category term='Windows'/><category term='Security'/><category term='Error Handling'/><category term='Azure'/><category term='Ajax'/><category term='XAML'/><category term='ASP.NET'/><category term='Windows Phone'/><category term='C++'/><category term='RSS'/><category term='Amazon EC2'/><category term='Charts'/><category term='Bill'/><category term='PowerShell'/><category term='wp7'/><category term='ProductCamp'/><category term='wp7 emulator'/><category term='COM+'/><category term='SQL Azure'/><category term='Software'/><category term='Andy'/><category term='.net'/><category term='Technical Questions'/><category term='developer'/><category term='Windows Azure'/><category term='SSL'/><category term='Windows 2008'/><category term='Will'/><category term='Google Map API'/><category term='Command Line'/><category term='LINQ'/><category term='Book Review'/><category term='Microsoft Enterprise Library'/><category term='CSS'/><category term='Culture'/><category term='Dina&apos;s Pet Project'/><category term='Hyper-V'/><category term='Azure Storage'/><category term='samples'/><category term='C#'/><category term='OPML'/><category term='SCRUM'/><category term='Windows Phone 7'/><category term='Color'/><category term='Dina'/><category term='Elmah'/><category term='SEO'/><category term='Agile'/><category term='SSRS'/><category term='HTML'/><category term='NetTiers'/><category term='OOP'/><category term='microsoft'/><category term='SYWYOW'/><category term='MySql'/><category term='T-SQL'/><category term='JavaScript'/><category term='WPF'/><category term='Entity Framework'/><category term='Silverlight'/><title type='text'>Comments on Project 31-A: Nullable Types And The Ternary Operator</title><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://www.31a2ba2a-b718-11dc-8314-0800200c9a66.com/feeds/6455474178760317253/comments/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3923359343089034996/6455474178760317253/comments/default'/><link rel='alternate' type='text/html' href='http://www.31a2ba2a-b718-11dc-8314-0800200c9a66.com/2009/02/nullable-types-and-ternary-operator.html'/><author><name>Wayne Walter Berry</name><uri>http://www.blogger.com/profile/07116744675621334568</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='28' height='32' src='http://2.bp.blogspot.com/_En4lyuSsx2g/SawyuUlKqKI/AAAAAAAAAAw/RgsqDOXQvVI/S220/Wayne.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>1</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-3923359343089034996.post-99615832153131912</id><published>2009-02-13T13:28:00.000-08:00</published><updated>2009-02-13T13:28:00.000-08:00</updated><title type='text'>You can actually cast either result to (int?) and ...</title><content type='html'>You can actually cast either result to (int?) and it fixes the error. I think the issue isn't that both results (1 or null) can be converted to your "int? x =" as in the case of your if() {} else {} statement, but that the compiler is trying to enforce that both results are compatible with each other.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3923359343089034996/6455474178760317253/comments/default/99615832153131912'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3923359343089034996/6455474178760317253/comments/default/99615832153131912'/><link rel='alternate' type='text/html' href='http://www.31a2ba2a-b718-11dc-8314-0800200c9a66.com/2009/02/nullable-types-and-ternary-operator.html?showComment=1234560480000#c99615832153131912' title=''/><author><name>Andy</name><uri>http://www.blogger.com/profile/07921345718995865779</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.31a2ba2a-b718-11dc-8314-0800200c9a66.com/2009/02/nullable-types-and-ternary-operator.html' ref='tag:blogger.com,1999:blog-3923359343089034996.post-6455474178760317253' source='http://www.blogger.com/feeds/3923359343089034996/posts/default/6455474178760317253' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1855432739'/></entry></feed>
