-1

I'm goint to port my C# application to Linux. My C# application read text files, manipulate its data, and split it to segments using below data commands and data structures:

    List<string> linesReadList;
    OpenFileDialog openFileDialog1;
    string[] lines = System.IO.File.ReadAllLines(filePath);

I know that every development environment got its nature, however I want to know is there any development environment close to C# in Linux?

I want to run my application in shell script and also development environment can support high-level data structures to speed up my development.

VSB
  • 9,825
  • 16
  • 72
  • 145
  • If you want to run your application in a shell script, you don't want an `OpenFileDialog`... why don't you just accept the filename as a command-line argument? Then you could keep it in C# using Mono or .NET Core, apart from anything else... – Jon Skeet Jun 14 '16 at 10:54
  • http://stackoverflow.com/questions/11203171/developing-c-sharp-on-linux – PaulF Jun 14 '16 at 10:54

2 Answers2

1

Simple: use C# and Mono.

Mono is a port of the .Net Framework and works great under Linux. I tested it on a Raspberry with Debian.

Warren Young
  • 40,875
  • 8
  • 85
  • 101
0

In addition to Mono, you also now have Microsoft's own .NET Core. It is less feature full than Mono, and it is currently very much in beta, but for your purposes it may present no practical difference.

Warren Young
  • 40,875
  • 8
  • 85
  • 101