title: Number Pattern Programs in C#
body: <p>I want to print something like this </p>
  
  <pre><code>54321
  5432
  543
  54
  5
  4
  3
  2
  1
  </code></pre>
  
  <hr>
  
  <pre><code>int n = 5;
  Console.WriteLine();
  for (int i = n; i &gt;= 0; i--)
  {
      for (int j = 1; j &lt;= i; j++)
      Console.Write(i.ToString());
      Console.WriteLine();
  }
  Console.WriteLine();
  Console.ReadLine();
  </code></pre>