All the developers might have coded atleast once for finding the current context User
Windows Application
WindowsIdentity.GetCurrent().Name
Environment.UserName
System.Windows.Forms.SystemInformation.UserName
Web Application
HttpContext.Current.User
WindowsIdentity.GetCurrent().Name
SharePoint
SPContext.Current.User