I'm using .NET framework v 3.5 and i need to parse a string representing a timespan into TimeSpan
object.
The problem is that dot separator is used instead of colon... For example 13.00
, or 22.30
So I'm wondering if I have to replace .
with :
or there is a more clean way to obtain this.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…