Thanks to visit codestin.com
Credit goes to github.com

Skip to content

code-check/cli-template-csharp

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Command line application template for C#

Implement CLI application by editing MainApp.cs You may add new files to keep your code clean, if it is allowed in your challenge.

How to get input parameters

You can get arguments as args parameter, defined in Main method

public class MainApp
{
    static public void Main(string[] args)
    {
      // code to run
    }
}

How to output result

You can use Console.WriteLine method to out put your results.

  Console.WriteLine("hoge")

Install External Libraries

If you want to use external libraries, do the following:

  • Add the following lines to build.sh, before the mcs line
    (You can have multiple libraries by adding more lines)
nuget [LibraryName]

You can add -reference option or some others, if these are required.

If you need to define env var MONO_PATH, please define it on Track UI.
You can't define any environment variables in build.sh

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •