I have a Windows with Regional settings - Hebrew
I have a consol application
and I have
Which outputs some strange non-readable symbols instead of short month name.Code:System.DateTime date = new System.DateTime(1971,1,10); System.Consol.WriteLine (date.ToString("dd-MMM-yyyy"));
I'd like to see a month name or in Hebrew - or (preffered) ignoring regional settings of the windows - in English
How do I do it?
PS. I DO know how to output month as a number. I need a name.
I have tried to change the CodePage of the Consol - no success.