Home
C# / C Sharp
2D Graphics
Class Interface
Collections Data Structure
Components
Data Types
Database ADO.net
Date Time
Design Patterns
Development Class
Event
File Stream
Generics
GUI Windows Form
Internationalization I18N
Language Basics
LINQ
Network
Office
Reflection
Regular Expressions
Security
Services Event
Thread
Web Services
Windows
Windows Presentation Foundation
XML
XML LINQ
ToString « Class Interface « C# / C Sharp
C# / C Sharp
Class Interface
ToString
1.
demonstrates overriding the ToString() method to provide a custom string output
2.
Illustrates how to override the ToString() method
3.
Demonstrate ToString()
4.
class declaration maintains the time in 24-hour format and ToString Method
5.
Format data in ToString method.
6.
Overriding the ToString() Method
7.
.NET Frameworks Overview:Custom Object Formatting