public static int titleNum = 1;
public static string[] titles = {"What are cancers?","How do they develop and spread?","How are they treated?"};
public static string[] information = {"Cancers are cells that rapidly reproduce in a certain part of your body. The cancerous Cells that are produced because of this can damage surrounding parts of your body, including your internal organs. ","Cancer forms when cells in the body multiply in an uncontrolled way. This can form a lump or swelling (a tumour) or affect the way cells work, for example blood cancers. There are over 200 types of cancer, so treatment varies. There are 2 types of tumour: Benign tumours - are usually harmless and don't always need treatment. Malignant tumours - are cancer and will usually need some form of treatment.","Cancer is mostly treated from 2 common ways. Chemotherapy and radiotherapy. Chemotherapy – Cells that kill cancerous cells in your body. Radiotherapy – Use of radiation to kill off cancerous cells. Unfortunately, these ways of treating cancer are NOT certain that you will be cured of cancer, but will treat it. They can have various side effects such as hair loss.","How have they developed over the last 50 years?"};
public static void Main()
Console.WriteLine("Cancers - By Zach and Wyatt.");
Console.WriteLine("Press one of the following numbers to view it's corrosponding information about Cancers.");
foreach(string title in titles)
Console.WriteLine(titleNum + " - " + title);
public static void Info(int num)
Console.WriteLine(titles[num]);
Console.WriteLine(information[num]);
Console.WriteLine("Press one of the following numbers to view it's corrosponding information about Cancers.");
foreach(string title in titles)
Console.WriteLine(titleNum + " - " + title);
public static void Options()
string response = Console.ReadLine();
int num = Int32.Parse(response);
if(num <= (titles.Length))
Console.WriteLine("That is an invalid number. Please select a number from the given list of options, your input must be a valid index.");