namespace Base;
public class AssertMsTest
{
///
/// Получить квадратный корень
///
/// Значение
/// double
public static double GetSqrt(double value)
{
return Math.Sqrt(value);
}
///
/// Получить приветствие
///
/// Имя
///
/// пустое имя
public string SayHello(string name)
{
if (name == null) throw new ArgumentNullException("Parameter name can not be null");
return "Hi! " + name;
}
}