C# Basic 6: Functions

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,596
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Oct 27, 2011

Discussing functions in C#.

Category:

Howto & Style

Tags:

License:

Standard YouTube License

  • likes, 1 dislikes

Link to this comment:

Share to:

Uploader Comments (Xylogeist)

  • I tried to divide by zero.... The program crashed. D:

  • @kjetil210795 Indeed! They say the only person ever able to divide by zero was DaVinci. You can remedy that by making a check before the opperation is processed that checks for irregular values (ex: If ( Value == 0 ) and so forth).

see all

All Comments (7)

Sign In or Sign Up now to post a comment!
  • Wouldn't you have to, at the end, change the "MessageBox.Show(result);" to "MessageBox.Show(message);"?

  • @kjetil210795 Wait... Wouldn't something divided by zero just have the answer of infinity. After all zero would just go infinitely into any number.

  • Love these C# tuts,..keep it up!

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