Making pyramid using c#
<p>My question is how to make a pyramid using * and 'space' in C#? The output will be like this.</p>

<pre><code>     *
    * *
   * * *
  * * * *
 * * * * *
</code></pre>

<p>We only need to use "for loop" for this program. I only know how to make this one.</p>

<pre><code>*
**
***
****
*****
</code></pre>

<p>I made a program like this:</p>

<pre><code>static void Main(string[]args)
{
int i=o;
int j=o;

for(i=5;1&gt;=1;i--)
  for(j=1;j&lt;=5;j++)
   {
    Console.Write("*");
   }
  Console.WriteLine(" ");
}
</code></pre>

<p>I'm confused when it comes to pyramid because it includes spaces. Thanks for your help!</p>
