C# quiz
Fast small quiz for sunny afternoon : What is writing at the console those lines : ( please do not use a compiler) : decimal? v = 100; Console.WriteLine(v); decimal? x = null; x += v.Value;...
View ArticleFind the Error
This code was written by me, in a late night moment, when copy paste seems the best option It started this way : public string ImportFeed(string URL) { string ret = ""; XmlDocument xd = new...
View Articlepath.combine idiosyncrasies
I have this small program : var s = Path.Combine(@"E:\andrei", UnknownVar); Console.WriteLine(Directory.GetFiles(s).FirstOrDefault()); In what conditions , if I have an “C:\andrei” folder with a single...
View ArticleSome code
What you do not like about this code ? ( I have found 3 things – how many can you find?) public static MyNewDocument OpenDocument(string FileDocPath , out int codeError) { if...
View Article
More Pages to Explore .....