I have a program in C#, where I want to store the build date and version. The version is added by me, the build date should be automatically generated. Normally if I start the program, there is nothing to do with, but if I add -V option in CMD, I would like to see build date and version. How should I do this?
I need optional arguemnt and somehow get the build date while building it.
Thanks in advance!