using System;
public class Program
{
public static void Main()
Func<string, string> teste = str => str.ToUpper();
var teste2 = "teste";
Console.Write(teste(teste2));
}