Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Finding your way in two big projects
Message
 
General information
Forum:
ASP.NET
Category:
Other
Environment versions
Environment:
C# 4.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01595937
Message ID:
01595939
Views:
59
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform