tags:

views:

62

answers:

1

I am writing a Movie class and I need to define the Runtime, for say 2h 15mn 45s for each movie. Is there a built in type in the BCL for this?

If not, what type should I define for this? Should it be called Interval or something?

+11  A: 

You can use the System.TimeSpan struct.

JoshJordan
PSHAW! Why use a language built-in when you can write your own? ;)
R. Bemrose