User Profile

Collapse

Profile Sidebar

Collapse
DEEPAK SAHU
DEEPAK SAHU
Last Activity: Jul 14 '11, 03:12 PM
Joined: Jul 13 '11
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • DEEPAK SAHU
    replied to counter increment in a program
    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.
    See more | Go to post

    Leave a comment:


  • DEEPAK SAHU
    started a topic counter increment in a program

    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 + "
    ...
    See more | Go to post
No activity results to display
Show More
Working...