static string ReadFullName()
string firstName = Console.ReadLine();
string lastName = Console.ReadLine();
return firstName + " " + lastName;
static int CompareTo(int num1, int num2)
static double GetTriangleArea(double length, double height)
return (length * height)/2;
static double CalculatePower(double num, double power)
for (int i = 1; i < power; i++)
static int GetMax(int first, int second)
static char GetMax(char first, char second)
static string GetMax(string first, string second)
if (first.CompareTo(second) >= 0)
public static void Main()
string output = "I am a local function";
Console.WriteLine(output);