如何通过在C#中使用反射打开记事本文件? [英] how to open notepad file by using reflection in c#?
本文介绍了如何通过在C#中使用反射打开记事本文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想通过反射打开记事本文件.
I want to open notepad file by using reflection.
推荐答案
您不需要反射即可(而且我看不到任何原因为什么要尝试).
You don''t need reflection to do that (and I can''t see any reason why you would want to try).
System.Diagnostics.Process.Start(@"D:\Temp\MyTextFile.txt");
这篇关于如何通过在C#中使用反射打开记事本文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文