94
C# String Format()
The C# Format() method is used to replace one or more format items in the specified string with the string representation of a specified object.
Signature
Parameters
first : it is a string type argument.
second: it is object type argument.
Return
It returns a formatted string.
C# String Format() Method Example
Output:
Saturday, December 17, 2016
Next TopicC# String GetEnumerator()