title: How to convert int to List<int>
body: <p>I want an solution to convert an input int say 010 to list of int {0,1,0}.
  Below is code I tried, works until 0 is encountered.</p>
  
  <pre><code>Int num = 010;
  List&lt;int&gt; listOfInt = new List&lt;int&gt;();
  While(num &gt; 0)
  listOfInt.Add(num%10);
  num / = 10;
  </code></pre>
  
  <p>I just want to split entered int and convert it to list of int. LINQ is fine if that could be efficient!</p>