passing arguments

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • vinkum
    New Member
    • Feb 2008
    • 1

    passing arguments

    How to get the file name as parameter in command line and tokenize the words in it? i am using csharp.
  • Plater
    Recognized Expert Expert
    • Apr 2007
    • 7872

    #2
    Check for the function called:
    Code:
    static void Main()
    {
       //...
    }
    probably in the Program.cs file (if you created a project with visual studio)

    And change it to:
    Code:
    static void Main(string[] args)
    {
       //..
    }

    Comment

    Working...