C sharp

Forum discussion tagged with C sharp.
  1. E

    C# 1-1= 8.88178419700125E-16? (new to coding, help needed)

    I would first like to state that I'm new to coding, so there's probably a better way to do this.So I'm working on a quick program to count the number of digits after the decimal in a number. The lines of code that is causing issues are: this code repeats until it's left with 0 when run with...
  2. manicmike

    Homework Help (C# GUI, Random Number Guessing Game)

    As the title states, this is for homework. I'm tasked with creating a program that allows a user to input a number into a GUI, and then compares their answer to the random number. Most of the remaining code is cake but when I tested what I have so far, EVERY time the Guess button is clicked, it...