How to open text file in the default windows text editor with C#

1 Answer

0 votes
using System.Diagnostics;

namespace ConsoleApplication_C_Sharp
{
    class Program
    {
        static void Main(string[] args)
        {
            Process.Start("d:\\data.txt");
        }
    }
}


/*
run:

 
*/

 



answered Aug 9, 2018 by avibootz

Related questions

1 answer 205 views
1 answer 250 views
1 answer 216 views
1 answer 208 views
1 answer 209 views
1 answer 265 views
...