DateTime dt = DateTime.Now;
string sKey = null;
sKey = Strings.Format(dt, "yyyy/mm/dd hh:mm:ss");
Firstly, there is no datatype called Strings in C#.
Secondly, the String.Format function does not have any function that accepts the parameters in the above format.