Functions in C#

C# has a number of builtin functions. This lesson includes some of the most commonly used functions.

Please study the material at each of the links below.

  1. Microsoft Reference: Math Functions
  2. Math Functions
  3. Demonstration of Math Functions
  4. Drill on Math Functions Ceiling, Floor, and Round
  5. ToString function instead of + to concatenate
  6. Parse: Convert text to Double
  7. TryParse: Convert text to Double if Numeric
  8. Ceiling: How many busses?
  9. Random Numbers
  10. Circle: Write a function to find area
  11. A Function to Generate Random Colors
Like us on Facebook:


OER: Open Educational Resource
Creative Commons License Author: Janet E. Joy; Publisher: Zebra0.com
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License
Creative Commons Attribution-NonCommercial 4.0 International License
Last modified: January 15 2018 10:10:22.