using System.Collections.Generic;
internal static class Program
private static void Main(string[] args)
FizzBuzzTest.ExecuteFizzBuzz();
Console.WriteLine($"Fibonacci: {string.Join(", ", FibonacciTest.FetchSequence(10))}");
Console.WriteLine(PersonTest.FormatPersonName("."));
string str1 = "listen", str2 = "silent";
Console.WriteLine($"Anagram Strings: {AnagramTest.AnagramChecker(str1, str2)}");
LeftJoinTest.PrintPetData();
public static class FizzBuzzTest
public static void ExecuteFizzBuzz()
throw new NotImplementedException();
public static class FibonacciTest
public static IEnumerable<int> FetchSequence(int n)
throw new NotImplementedException();
public sealed class Person
private readonly string _firstName;
private readonly string _lastName;
public Person(string firstName, string lastName)
public string FormatFullName(Func<string, string, string> formatter)
throw new NotImplementedException();
public static class PersonTest
public static string FormatPersonName(string seperator)
var person = new Person("John", "Smith");
return person.FormatFullName(null);
public static class AnagramTest
public static bool AnagramChecker(string str1, string str2)
throw new NotImplementedException();
public sealed class PersonData
public int ID { get; set; }
public string FirstName { get; set; }
public string LastName { get; set; }
public string Phone { get; set; }
public sealed class PetData
public string Name { get; set; }
public int OwnerID { get; set; }
public static class LeftJoinTest
public static void PrintPetData()
var magnus = new PersonData { ID = 1, FirstName = "Magnus", LastName = "Hedlund" };
var terry = new PersonData { ID = 2, FirstName = "Terry", LastName = "Adams" };
var charlotte = new PersonData { ID = 3, FirstName = "Charlotte", LastName = "Weiss" };
var arlene = new PersonData { ID = 4, FirstName = "Arlene", LastName = "Huff" };
var barley = new PetData { Name = "Barley", OwnerID = terry.ID };
var boots = new PetData { Name = "Boots", OwnerID = terry.ID };
var whiskers = new PetData { Name = "Whiskers", OwnerID = charlotte.ID };
var bluemoon = new PetData { Name = "Blue Moon", OwnerID = terry.ID };
var daisy = new PetData { Name = "Daisy", OwnerID = magnus.ID };
var people = new[] { magnus, terry, charlotte, arlene };
var pets = new[] { barley, boots, whiskers, bluemoon, daisy };
throw new NotImplementedException();
public static IEnumerable<TResult> LeftJoin<TLeft, TRight, TKey, TResult>(this IEnumerable<TLeft> left,
IEnumerable<TRight> right, Func<TLeft, TKey> leftKeySelector, Func<TRight, TKey> rightKeySelector,
Func<TLeft, TRight, TResult> resultSelector) where TRight : class
throw new NotImplementedException();