CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 5 of 5

Thread: C# Help

  1. #1
    Join Date
    Oct 2013
    Posts
    3

    Red face C# Help

    Hi!

    Sorry to bother you but I'm looking for a little help. I haven't done any programming in a while and was looking to create a console application which will allow me to store numbers and names of horses for a show and save them to a CSV file. But I also wanted to add a feature that allowed me to choose how many (i have 100 horses to add) horses and numbers are added to the CSV file at one time. Almost like a random names/numbers. I have access to VS2010 to create this on.

    Can anyone help? Or point me in the right direction? I thought I would just pick it all up again but I've drawn a blank. Thanks in advance.

  2. #2
    Arjay's Avatar
    Arjay is offline Moderator / EX MS MVP Power Poster
    Join Date
    Aug 2004
    Posts
    13,490

    Re: C# Help

    Do you need to store them in a CSV file? Can you use a different format such as xml?

  3. #3
    Join Date
    Oct 2013
    Posts
    3

    Re: C# Help

    Quote Originally Posted by Arjay View Post
    Do you need to store them in a CSV file? Can you use a different format such as xml?
    It needs to be a CSV file, yes.

  4. #4
    Arjay's Avatar
    Arjay is offline Moderator / EX MS MVP Power Poster
    Join Date
    Aug 2004
    Posts
    13,490

    Re: C# Help

    Is this a homework assignment? If not, why csv?

  5. #5
    Join Date
    Oct 2013
    Posts
    3

    Re: C# Help

    Quote Originally Posted by Arjay View Post
    Is this a homework assignment? If not, why csv?

    Not homework but I managed to get it working and going to a CSV and txt file.

    Thanks.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured