inline list in csharp

Code Example - inline list in csharp

                
                        var list = new List<String> { "foo", "bar" };