-
-
Save profesor79/cc4e747616fc69f0f8cf2f784877487e to your computer and use it in GitHub Desktop.
lazy brain
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public void OriginalCode(string testString) | |
{ | |
var dt = DateTime.UtcNow; | |
var period = string.IsNullOrWhiteSpace(testString) ? $"{dt:MMM}-{dt:yy}" : $"{dt:MMM}-{dt:yy} {testString}"; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment