Alert icon
We're changing our privacy policy. This stuff matters.  Learn more  Dismiss

Advanced C# Topics Episode 1 - The Ternary Operator

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
2,605
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Jan 17, 2011

In this episode, we will be going over what the Tertiary Operator is.

Twitter: http://twitter.com/MarkusClardy
Wordpress: http://m50blog.wordpress.com/

Category:

Education

Tags:

License:

Standard YouTube License

  • likes, 3 dislikes

Link to this comment:

Share to:

Uploader Comments (steamisM50)

  • Interesting, I have always heard it called a "ternary operator". I believe you can do the same thing in JavaScript. I am not sure about other languages though.

    Great tuts, keep em coming.

  • @midwest13 Yes, Ternary is the name it is given, sorry, Tertiary means third, while Ternary means "of 3" so yes, ternary, I always say it wrong though. :( :P

see all

All Comments (7)

Sign In or Sign Up now to post a comment!
  • Tertiary? lol.. Great tutorial, yet again! Better than 90% of what's out there, spoken in indian dialects. It's probably too late, knowing that you most likely know better since Jan 17, 2011, but take a look at: (a link) blogs.msdn.com/b/ericlippert/a­rchive/2010/02/18/whats-the-di­fference-between-ternary-and-t­ertiary.aspx .

    Two different things? Perhaps? lol. I know what you meant. GREAT JOB!!! Keep 'em coming!

  • Nice video! Keep up the good work. you shouldn't use num++ in your evaluative expression unless you want that function actually performed. In other words, num++ isn't a return function, it actually changes the value of the variable

  • nice vid, random var

  • @asdfasdfasdfasdfa978 You can not overload special symbols (as far as I have been able to tell), thus, to make a "quadrary" operator or more, you must make a function.

Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more