title: Assigning values for Nullable<Guid>
body: <p>I am trying a create a variable Guid? which represents a nullable db column. I am facing issues while assigning values. I was able to assign null to the variable easily. But when I want to assign a Guid value I have to create a new Guid? object which doesn't accept the string. </p>
  
  <pre><code>Guid? sample=new Guid?(someString); // erroing "Cannot implicitly convert string to Guid"
  </code></pre>
  
  <p>So I have to do like this </p>
  
  <pre><code>Guid? sample=new Guid?(new Guid(someString)); // working code
  </code></pre>
  
  <p>I am also assigning values conditionally.</p>
  
  <pre><code>Guid? sample=(string.IsNullOrWhiteSpace(someString))?null: new Guid?(new Guid(someString)); 
  </code></pre>
  
  <p>Why is this issue coming up with Guid ?</p>