Part 12 – C# Tutorial – switch statement in c# continued

Part 12 - C# Tutorial - switch statement in c# continued

Complete 60 part c# series: www.youtube.com/playlist?list=PLAC325451207E3105&feature=view_all My Blog: www.csharp-video-tutorials.blogspot.co.uk In this part…
Video Tutorial Rating: 4 / 5

Don’t forget to check out our other video tutorials or share this video with a friend.

1 Star2 Stars3 Stars4 Stars5 Stars 0 votes
Loading... 4,303 views





20 responses to “Part 12 – C# Tutorial – switch statement in c# continued”

  1. hakan suleyman yardibi says:

    your lessons are very helpful, thank you very much.
    i’ve encountered an error in this example could you help please?
    in the first question which i choose the coffee size, if i enter nothing
    and press enter it gives an error and stops working. but i expect it to
    write ” your choice is invalid”.
    and also in the second question which asks do i want another coffee if i
    press enter directly it says my choice is invalid. i couldn’t understand
    the difference. i’ll be very happy if you can explain :)

  2. Mohamed Mezar says:

    thats very helpful thanks alot ^_^

  3. Deyan Dachev says:

    Same here

  4. Void Gaze says:

    Thank you

  5. stylishsam100 says:

    ok got it! thank u so much venkat, really helpful 🙂

  6. kudvenkat says:

    Hi, i += 1 will evaluate to i = i + 1. Similarily i -= 1 will evaluate to i
    = i -1. Hope this answers your question. Good luck. Please share the link
    with your friends who you think would also benefit from them. If you like
    these videos, please click on the THUMBS UP button below the video.

  7. Samuel Kavin Loganathan says:

    Thank you 🙂 Very good explanation

  8. Apurva Patkeshwar says:

    use int.Parse() as parse converts string to int.. and user i/p from
    Console.ReadLine() is a string..

  9. Akif Jilani says:

    Thank You..I have been programming in C# for last few years but there is
    always something new to learn in each of your video.

  10. Ashley235 says:

    very helpful. thx

  11. Djihin says:

    A lot of useful stuff in your videos. Thank you!

  12. Dave Van Roosbroeck says:

    your start: position will be wrong then you probably put it above the first
    defenition of your “int TotalCoffeeCost” value where you put it at 0

  13. Raseeth A says:

    Thank you 🙂

  14. stylishsam100 says:

    Please explain a bit about the “+=” operator which is used here, i mean why
    is it imp to use the + sign, can’t be just “=”??

  15. kudvenkat says:

    Thank you very much for taking time to give feedback. I am really glad you
    found these videos useful. If you want to receive email alerts, when new
    videos are uploaded, please feel free to subscribe to my youtube channel.
    May I ask you for a favour. I want these tutorials to be helpful for as
    many people as possible. Please free to share the link with your friends
    and family who you think would also benefit from them. If you like these
    videos, please click on the THUMBS UP button below the video

  16. Rajesh Goud says:

    program is perfect,,but i am facing problem at total bill amount… for
    example,,,, if i purchase 2 medium coffee the bill amount will be 4..but i
    am getting bill amount is 2 could plz help me here.

  17. Apurva Patkeshwar says:

    use while loops. use goto and your code goto hell. 😛

  18. Patrick Naegele says:

    Thank you very much!

  19. Raseeth A says:

    Hi, Your Video Tutorial was very Superb and Useful. I have a doubt While
    getting Integer Value from User can i use Convert.ToInt32() is better or
    Int.Parse() is Better??? In which Situation to use these both??? Thank U in
    Advance

  20. Jon Barrett says:

    “Coffee Purchasing Program”… Brilliant!

Leave a Reply to Akif Jilani Cancel reply

Your email address will not be published. Required fields are marked *