

- Trending Categories
Data Structure
Networking
RDBMS
Operating System
Java
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Represent exact representation of no time in C#
Use the TimeSpan.Zero to represent the exact representation of no time i.e −
00:00:00
Set an object for TimeSpan −
TimeSpan ts;
Now, the TimeSpan.Zero is used to display no time −
TimeSpan ts = TimeSpan.Zero;
Example
using System; using System.Linq; public class Demo { public static void Main() { TimeSpan ts = TimeSpan.Zero; Console.WriteLine(ts); } }
Output
00:00:00
- Related Questions & Answers
- Representation of a Discrete Time Signal
- 1 to n bit numbers with no consecutive 1s in binary representation?
- Python Pandas - Compute indexer and find the previous index value if no exact match
- Python Pandas - Compute indexer and find the next index value if no exact match
- Python Pandas - Compute indexer and find the nearest index value if no exact match
- Representation of fractions
- Representation of Graphs
- Checks if two calendar objects represent the same local time in Java
- In MySQL, how can we represent the time value as an integer?
- Matrix Representation of Graphs
- How to know the exact time to load a page using Selenium WebDriver?
- Exact count of all rows in MySQL database?
- Representation of class hierarchy in DBMS
- String representation of Boolean in Java
- Representation of Relations using Graph
Advertisements