title: Convert String.Empty to Nothing/Null
body: <p>Is there a .Net function that does that. I guess if there isn't i have to make my own method.</p>
  
  <p>The thing is i have a function. It accepts integers. If you pass a 0 integer or a null value it still works. Problem is that the value of an empty textbox is a String.Empty value.</p>
  
  <p>I don't want to use if's. I mean it could  but its much nicer if i can just call my function like this</p>
  
  <p>MyFunction(txtTextbox.Text) </p>
  
  <p>But it won't work because it can't convert the string.empty to a integer.</p>