using System.Collections.Generic;
public string Name { get; set; }
public int Age { get; set; }
public static void Main()
List<Person> People = new List<Person>() {
new Person() { Name = "Joe", Age = 2 },
new Person() { Name = "Jimmy", Age = 2 },
new Person() { Name = "Lisa", Age = 3 },
new Person() { Name = "Joe", Age = 4 }
Console.WriteLine("Factorial of 5 is: " + GetFactorial(5));
Console.WriteLine("Reversed words of 'This is a test' is: " + ReverseWords("This is a test"));
public static int GetFactint temp =n;t n) {for(int j =n-1 ; j>=1 ;j--)
public static string ReverseWords(string s) {