Software Development Network>> Visual C#>> How to edit any .cs file from my C# application?
Thank you Nilsson.
Actually I want to write testcases in NUnit, for my UI (Forms). And I can't found a way for testing UI with NUnit. Please correct me, if there is a way.
How to edit any .cs file from my C# application?
Christian Riedl
anyway here is something you can do (although I dont recomennd it)
string text = r.ReadToEnd().Replace("private", "public");
r.Close();
StreamWriter w = new StreamWriter("myapp.cs");
w.Write(text);
w.Flush();
w.Close();
SForman
Thank you Nilsson.
Actually I want to write testcases in NUnit, for my UI (Forms). And I can't found a way for testing UI with NUnit. Please correct me, if there is a way.