(C# HELP) Keeps Saying Namespace is not found
It's saying that the namespace for, "visitor" and "person" is not found. I'm stuck. Do I have to declare both as strings? ------------------------------------------------------------------------------------------------ using System; using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; namespace Rextester { public class Program { public static void Main(string[] args) { Person p1 = new vistor(); System.Console.WriteLine("What's your first name?"); p1.fName = System.Console.ReadLine(); System.Console.WriteLine("Now tell me your last name."); p1.lName = System.Console.ReadLine(); System.Console.WriteLine("Please tell me your age now."); p1.Age = int.Parse(System.Console.ReadLine()); p1.Lover = new vistor(); Person.TotalofAllAges + Person.TotalofAllAges + p1.Age; p1.PrintNameAndAge(); System.Console.WriteLine("What's your lover's name?"); p1.Lover.fName = System.Console.ReadLine(); p1.Lover.lName = p1.lName; System.Console.WriteLine("What's their age?"); p1.Lover.age = int.Parse(System.Console.Readline()); p1.Lover.Lover = p1; Person.TotalofAllAges = Person.TotalofAllAges + p1.Lover.Age; p1.Lover.PrintNameAndAge; Console.WriteLine("Press P to go on"); Console.ReadLine(); } } }