Thanks. What is the difference between hard coding 2012 as the year and using DateTime.Today so that when the year changes I would not have to remember to go back and edit code?
Thanks for the quick reply
I'm using Visual C# 2010 Express. (Windows)
I had gotten it to run, but it would not differentiate age between any birth date that was in the year 1994.
I am trying to write a program that asks the user to input their date of birth to verify if they are over 18. If they are I need to print "transaction approved" to the console and if not I need it to print "transaction denied."
The problem I am having is that I cannot compare a the values...