• Welcome to TechPowerUp Forums, Guest! Please check out our forum guidelines for info related to our community.

Recent content by trojandnc

  1. T

    C# Programming Question

    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?
  2. T

    C# Programming Question

    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.
  3. T

    C# Programming Question

    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...
Top