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 204 views
1 answer 250 views
1 answer 215 views
1 answer 207 views
1 answer 208 views
1 answer 264 views
...