This is a C# console application demonstrating a variety of programming exercises.
- Ask the user for their name and favorite color, then change the console's text color to their favorite color and greet them with their name.
- Prompt the user for two numbers, add them together, and display the result.
- Create a simple loop that continually asks the user for input until they enter "exit" or "quit".
- Ask the user for a number and display its square root.
- Get two numbers from the user and display the smallest number and the difference between them.
- Calculate the area of a circle, given user input for the radius.
- Generate a random number between 1 and 6, simulating the roll of a dice, and display the result.
- Create a simple lottery simulation where the user has to guess a number between 1 and 10, and tell them if they guessed correctly.
- Generate three random colors (using RGB values) and display their values.
- Ask the user for their birthdate and calculate their age.
- Display the current day of the week and ask the user to enter an event. Store and remind them of the event the next time the program runs.
- Calculate the difference in days between today and the next holiday provided by the user.
- Ask the user for a sentence and then display it in reverse order.
- Check if the user's input string is a palindrome (reads the same backward as forward).
- Ask the user for a paragraph and count how many times a specific word appears in it.
- Create an application that accepts 5 numbers from the user, stores them in an array, then prints out each number in reverse order.
- Ask the user for a string. Convert this string into a character array and count how many vowels (a, e, i, o, u) are in the string.
- Create a program where the user can continually add names into an array until they decide to stop. After they stop, display all names entered and count how many names are in the array.