hiii,
i think this one will help you
class Program
{
static void Main(string[] args)
{
int i, j, k, n;
Console.Write("Enter the No. :");
n = int.Parse(Console.ReadLine());
for (i = 1; i <= n + (n - 1); i++)
{
for (j = 1; j <= n + (n - 1); j++)
{
if (i + j == (n + 1) || i + j == (n + n + n - 1) || i - j == (n -
1) || i - j == -(n - 1))
Console.Write("*");
else
Console.Write(" ");
}
Console.WriteLine("\n");
}
Console.Read();
}
}