Entries:
Comments:
Posts:

Loading User Information from Channel 9

Something went wrong getting user information from Channel 9

Latest Achievement:

Loading User Information from MSDN

Something went wrong getting user information from MSDN

Visual Studio Achievements

Latest Achievement:

Loading Visual Studio Achievements

Something went wrong getting the Visual Studio Achievements

Content Obsolete

This content is no longer current. We recommend you try the following url for more up to date content: http://channel9.msdn.com/Series/C-Fundamentals-for-Absolute-Beginners

Operators, Expressions and Statements Duration - 07

Download

Right click “Save as…”

In this lesson, we discuss how to create a properly formed C# statement. As with any language, there's a "right way" and a "wrong way" to write "complete thoughts" in C#. We discuss how statements are made up of expressions, and how expressions are made up of operators (think: verbs) and operands (think: nouns). Finally, we talk about compilation errors that occur when the syntax rules of C# are ignored.

Download the source code for Operators, Expressions and Statements Duration

 

Tags:

Follow the Discussion

  • EmWEmW

    Again, awesome and thank you. You are allowing me to finally understand how to code, i love your approach

  • @EmW:  Awesome, glad it's working for you!

  • LotfinejadLotfinejad

    Download links are broken!

  • Duncan MackenzieDuncanma "yeah that's awful close, but that's not why I'm so hard done by"

    @Lotfinejad: They are all working for me... which specific link is failing for you? Two troubleshooting ideas:

    1. Can you do a tracert to video.ch9.ms to see what the results are?
    2. Can you try hitting the same link, but media.ch9.ms instead of video.ch9.ms?

    Thanks

  • This series is awesome. I've already watched several tutorials by different authors, covering the same content... but these videos are much more descriptive and easier to understand.

    Offhand, I have a question relating to the past few videos...

    Is it possible to check and see if a user input is equal to /any/ variable in a class or method? I imagine I could type the variables out one by one, but it would be much easier to just check the input against all previously defined variables within a class or method.

    If (userInput == Program.Variables.(anyvariabledefined))  or something like that.

     

  • ZafarZafar

    The link is broken. Cant watch the video neither can download.

  • @Lucien: That's a great question ... to my knowledge, there's nothing like that available.  I can see where that would be handy.

  • Bob,

    Thank you so much! I have watched your vb videos as well. Your videos are a great resource for learning. You are the man.

  • @DanWoodcock:  Smiley  Thanks, always wanted to be "the man".  Seriously though, glad these worked for you Dan.

  • DenizDeniz

    Bob, you really are the best! I was struggling trying to find a good source to start learning. There really is none. And I really can't spend thousands of dollars for learning this. Internet is full of lessons that made no sense to me.

    Also even though English is not my native language, it isn't even a bit hard to understand you.

    Thank you for all and I will try to follow your work. Hopefully.

  • HarishHarish

    Hello Bob,

    Awesome video tutorials, I have learned a lot. Thank you very much for your strain in giving out the best in you. Please provide us with the other tutorials on other technologies.

    Also, This video link is broken for both watching and downloading. Please verify it.

    Thanks. :)

  • HarishHarish

    Hello Bob,

    Awesome video tutorials, I have learned a lot. Thank you very much for your strain in giving out the best in you. Please provide us with the other tutorials on other technologies.

    Also, This video link is broken for both watching and downloading. Please verify it.

    Thanks. :)

  • @Deniz: Great to hear this worked for you.  Thanks for the kind words!

    @Harish: Thank you.  Other videos are on their way.  Also, I was able to download and watch this video just now.  All links seem to work.  Perhaps a temporary outage?

  • chidichidi

    Thanks alot Bob.I would like to buy the complete CD,how can i get them?

  • MichaelMichael

    This videos saved my life, thank you Bob ^_^

  • Tony BTony B

    @Lucien

    I think what you are asking for can be achieved using Reflection:

    http://msdn.microsoft.com/en-us/library/xdtchs6z.aspx

    Tony

  • Syed MoinudinSyed Moinudin

    Sir Thank you very much..
    I Dont Know How To Say Thank,s ....Lot of Thank,s sir

  • GeorgeGeorge

    I thought i'd try out using what I learned from you so far and i'm having a bit of trouble. on line 22 I try to convert a string into an integer but when I debug it stops at that line and doesn't continue. What am I doing wrong?

    here is what I have

    http://i882.photobucket.com/albums/ac22/xGE0RG3XD/problem.png

  • @George: Try removing the Console.Readline() in line 19.  You're doing it twice.  That means the SECOND time you hit enter, you're not sending in any value (null), and so int.Parse(null) will cause the app to break.  Hope that helps!

  • Another great video! I love switching between a few of the kindle books I bought + music...then when I get tired of reading I come to your videos! Great work, much appreciated.

  • MohdMohd

    Bob... what is (( and )) meant for?

  • salmansalman

    bob, the videos are great just from the point of view of downloading you have uploaded the files in very high resolution that's why their size are very heavy and it takes so much time while downloading.
    will appreciate if you could put the compressed videos or in other formats which are comparatively lighter.

    thanks

  • Excellent tutorial; I am starting to think through some of the code syntax.

    Thanks!

  • martinmartin

    in the OR operator what symbol was it?? ((x == x) ?? (x == x))

  • rajat patelrajat patel

    Hello sir Bob !! the series is awesome.... n its very helpfull really......i hv downloaded all ur serieses bt this particular video is not getting downloaded..... help me sir plz..... i need this video asap to complete my study of the whole series..... help me soon sir !!

  • MattMatt

    Hello Bob,

    I am attempting to download the whole series for offline viewing but unfortunately this link appears to be broken.

    Thanks

  • Tajminur RahmanTajminur Rahman

    Hey Bob,
    Awesome effort. C# was giving me a very hard time and deep down in my heart I was hopeless. Then,suddenly I just saw your videos and guess what, I am back on C# again !
    Thank u Sir.

  • Tajminur RahmanTajminur Rahman

    Hey Bob,
    Awesome effort. C# was giving me a very hard time and deep down in my heart I was hopeless. Then,suddenly I just saw your videos and guess what, I am back on C# again !
    Thank u Sir.

Remove this comment

Remove this thread

close

Comments Closed

Comments have been closed since this content was published more than 30 days ago, but if you'd like to continue the conversation, please create a new thread in our Forums,
or Contact Us and let us know.