C# file io 02 read to objects

Поделиться
HTML-код
  • Опубликовано: 24 ноя 2024

Комментарии • 16

  • @nizameddinkale5444
    @nizameddinkale5444 3 года назад +2

    Where were you whole time! its really nice to watch you. Nicely describing codes and a great practical demonstration.

  • @ishan9050
    @ishan9050 2 года назад

    Two notable things I got out of this tutorial:
    1. Using People object as a data holder.
    2. ToString method was awesome

  • @Blasulz1234
    @Blasulz1234 2 года назад

    This is infinitely helpful! and the information is very well compressed, thank you

  • @attilaguba856
    @attilaguba856 2 года назад

    That's really good as usual! Can you maje an another short video how you do copy all text to a new .txt file and then delete the original path ? Or Directory as well ?

  • @MrNewMuse
    @MrNewMuse 4 года назад +5

    when I run it, it tells me "Unhandled exception. System.IndexOutOfRangeException: Index was outside the bounds of the array." I cannot seem to find the problem. I have watched and redone everything exactly the same...

    • @MrNewMuse
      @MrNewMuse 4 года назад

      the only thing different is that I commented out instead of deleted. so I have the notes. the txt file seems correct, please help. been messing around with this for hours

    • @MrNewMuse
      @MrNewMuse 4 года назад +9

      I found my problem... In my text file, I had pressed enter an extra time after the list. It left a blank line that couldn't be read because there were no commas. I feel really stupid but glad I learned one more thing. Thank you Mr. Sluiter, your tutorials have helped me so very much!

    • @aaronjackson8367
      @aaronjackson8367 3 года назад +1

      @@MrNewMuse Thank you for this !!!! I have spent the last three hours trying to figure this out, and was on the brink of insanity. I had done the exact same thing... Its amazing how small unnoticed things can make a program crash.

    • @sanamuzafer2403
      @sanamuzafer2403 2 года назад

      @@MrNewMuse Thank you so much :)

    • @triskettrap6043
      @triskettrap6043 2 года назад +2

      This comment is still helping people!
      Thank you so much.

  • @jonlbs7
    @jonlbs7 4 года назад

    FANTASTIC !! 😊😊👍

  • @TonyDaExpert
    @TonyDaExpert 4 года назад

    These are really good!

  • @gaireyc6215
    @gaireyc6215 Год назад

    its not working for me
    I have given a filepath but it says couldn't find the file everytime.
    I have created a file named demo in C drive and tries to access it but failed. pls help me to resolve this issue

    • @shadsluiter
      @shadsluiter  Год назад

      Check the file extensions. The .txt is likely hidden by Windows explorer. Your file is probably filename.txt.txt You can select "hide known file extensions" in Explorer.

  • @tuannguyenanh4956
    @tuannguyenanh4956 3 года назад

    This help me toooooo much, thank you