Error!
Success!

By tag: ToString

showing:  of
0
kicks

Take control of DateTime’s ToString() method.  (Unpublished)

An example how to format DateTime with ToString() method.


Kicked By:
Drop Kicked By:
0
kicks

Useful Extension Method On String  (Unpublished)

.NET Framework provides String.IsNullOrEmpty() method which return true if the string is null or empty. It does not however take care of a string which only contains spaces. Often while persisting data we do not want to persist just empty strings. In past I have made this check before I let my data ...


Kicked By:
Drop Kicked By:
0
kicks

Overriding ToString for Easier Debugging  (Unpublished)

Did you know that you can override the ToString() method to make the debugger show you more information about your objects in the watch window. It's quick, it's easy, and it really works!


Kicked By:
Drop Kicked By:
0
kicks

Always implement the ToString() method  (Unpublished)

Implementing the ToString() method make debugging a whole lot easier


Kicked By:
Drop Kicked By:
0
kicks

Custom object and ToString()  (Unpublished)

It is known that in the C # any object can be shown in the form of string by the method ToString () but what to do if you need to make such an operation with custom object? That is one solution....


Kicked By:
Drop Kicked By: