This is repeated question in C# Corner. Please before posting questions, see the suggested/recommended solutions of C# Corner.