jloga4
7/20/2017 - 2:30 AM

Example of how to use the throw statement. From Fundamentals of Computer Programming with C# http://www.introprogramming.info/wp-content/upl

static void Main()
{
  Exception ex = new Exception("Exception thrown due to an issue with the program.");
  throw ex;
}