I need a function that can return the difference between the below two dates as 24.
DateTime a = new DateTime(2008, 01, 02, 06, 30, 00); DateTime b = new Dat
int hours = (int)Math.Round((b - a).TotalHours)