title: How to know what user entered in C#
body: <p>For Ex: </p>
  
  <pre><code>cw("enter anything");
  </code></pre>
  
  <p>//we dont know if user entered int or string or any other datatype so we would check as,</p>
  
  <pre><code>if(userEntered == int){}
  if(userEntered==string){}
  </code></pre>
  
  <p>In other way: If user enters for example int value so we convert it and save it but if we dont know what user entered, how will we judge or detect?</p>