using System;
public class Program
{
public static void Main()
Console.WriteLine(DrawTriangle(13));
}
/*
/ Return isosceles triangle as lines to console
/ Parameters:
/ _BaseWidth - positive even number as triangle base width
*/
public static string DrawTriangle(int _BaseWidth)
if (_BaseWidth % 2 == 0 || _BaseWidth <= 0)
throw new Exception("Not a positive even number");
string _Output = string.Empty;
return _Output;
/**
* HINT:
*
* Repeat character - new String('*', _Count)
* New line - "\r\n"
***
*****
* */