C# Is there a way to make a list of time range? Configurable

Viewed 2065

Is there a way to make a list of time range? For example: A list containing: 12:00 to 1:00 pm 1:00 to 2:00 pm etc... Where the dividing section is configuration. I think you have to use datetime and divide it to a certain number(in this case one hour)

Could someone please point me to the right direction or provide me an example?

Thanks in advance!

1 Answers
Related