Generic C# Tutorial

using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Runtime.CompilerServices;
public class MainClass
{
    static string GetToString(T input)
    {
        return input.ToString();
    }
    public static void Main()
    {
        Console.WriteLine(GetToString(10));
    }
}
10