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 162 views
1 answer 202 views
1 answer 163 views
1 answer 173 views
1 answer 180 views
1 answer 199 views
...