Friday, December 1, 2017

C# how to initiate a List via constructor

Example of a string List initialization in one line below


//Create list strCollection and assign string A, B, C & D to it!
List<string> strCollection = new List<string>() { "A", "B", "C", "D" };


No comments:

Turn on Windows 11 Fast Boot

If windows starting is slow, to enable windows 11 fast startup/boot,  Press Windows + R, type powercfg.cpl, and hit Enter.  This will direct...