In C#, is there an inline shortcut to instantiate a List with only one item.
I\'m currently doing:
new List( new string[] { \"
Yet another way, found on "C#/.Net Little wonders" (unfortunately, the site doesn't exist anymore):
Enumerable.Repeat("value",1).ToList()