>Hi everybody,
>
>I am wondering how do you work with relatively big projects especially when you have a break in a few months? Say, I do remember I wrote something for the date formatting in case this is an empty date ('1900-01-01') to return / / instead. However, I absolutely don't remember how that function was called or where it was used and in which solution it was implemented.
>
>So, I have a general question as how do you navigate in the C# projects and how do you know which methods are available to you?
>
>Thanks in advance.
Luckily I remembered to check MiscExtensions.cs file in the Library project where I have this extension
public static String FormatDateToString(DateTime? date)
{
if (date.HasValue)
return date.Value.ToString("MM/dd/yyyy hh:mm:ss tt");
else
return " / / ";
}
If it's not broken, fix it until it is.
My Blog