How to restart a Application in C# or VB.NET

To restart a Application in C# or VB.NET you can use the following line of code.

Sample C#

Application.Restart();

Sample VB.NET

Application.Restart

for more informations see the MSDN: Application.Restart Method

Please Share us:
Please rate this snippet

One thought on “How to restart a Application in C# or VB.NET

Leave a Reply