Sorry I have wrongly commented the following statement
[CODE]
Console.WriteLi ne("file a.txt successfully created");
File.AppendAllT ext(@"E:\a.txt" , ++i + " hey baby\r\n");
[\CODE]
Its actually meant to be without comments.
Please somebody help.
User Profile
Collapse
-
counter increment in a program
First of all, here is my C# code.
...Code:using System; using System.IO; class funny { static int i; public static void Main() { //File.Create(@"E:\a.txt"); //Console.WriteLine("file a.txt successfully created"); File.AppendAllText(@"E:\a.txt", ++i + "
No activity results to display
Show More
Leave a comment: