C# assignment focusing on delegates and lambdas