Set System.Environment.ExitCode : Command Line « Development « VB.Net






Set System.Environment.ExitCode

  

Imports Microsoft.VisualBasic
Imports System

Public Class MainClass
   Private Const tipRate As Double = 0.8

   Public Shared Sub Main()
      System.Environment.ExitCode = 0
   End Sub

End Class

   
    
  








Related examples in the same category

1.Get Command lineGet Command line
2.Deal with Command Line ArgumentsDeal with Command Line Arguments
3.Get Command line arguments from System.Environment
4.Demonstrates the GetEnvironmentVariables method.