using System;
public class Program
{
public static void Main()
var cacheMaxItemsStrs = new[]
"",
null,
"0",
"1",
"-1"
};
uint cacheMaxItems;
foreach(var cacheMaxItemsStr in cacheMaxItemsStrs)
Console.Write(string.IsNullOrEmpty(cacheMaxItemsStr));
Console.WriteLine(!uint.TryParse(cacheMaxItemsStr, out cacheMaxItems));
}