just use C# to write a notepad program.