"People say that your favorite piece of code tells tales about you.."
I want to hear it from you guys, whats your favorite piece code?
I work alot with flat files and databases using c# and most of the time the processing of data takes rigorous implementation of string handlers.This takes me to realize that my probable bestfriends right now are the string functions.
1.) String.Substring : this method is heaven sent.
2.) String.Format : i think this is one of the sweetest method ever built.
3.) String.Insert, String.Replace : i generally use this two alot.
So you have heard about my favorite strips of code. now its your turn to let us know whats the method, or line of code that you cant live without. :)
Disclaimer The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.