using System;
using System.Collections.Generic;
public class Test
{
public static void Main()
{
List<String> s = new List<string>(){ "", "a", "", "b", "", "c" };
s.RemoveAll(str => string.IsNullOrEmpty(str));
foreach (var i in s)
{
Console.WriteLine(i);
}
}
}
dXNpbmcgU3lzdGVtOwp1c2luZyBTeXN0ZW0uQ29sbGVjdGlvbnMuR2VuZXJpYzsKCnB1YmxpYyBjbGFzcyBUZXN0CnsKCXB1YmxpYyBzdGF0aWMgdm9pZCBNYWluKCkKCXsKCSAgICBMaXN0PFN0cmluZz4gcyA9IG5ldyBMaXN0PHN0cmluZz4oKXsgIiIsICJhIiwgIiIsICJiIiwgIiIsICJjIiB9OwogICAgICAgICAgICBzLlJlbW92ZUFsbChzdHIgPT4gc3RyaW5nLklzTnVsbE9yRW1wdHkoc3RyKSk7CiAgICAgICAgICAgIGZvcmVhY2ggKHZhciBpIGluIHMpCiAgICAgICAgICAgIHsKICAgICAgICAgICAgICAgIENvbnNvbGUuV3JpdGVMaW5lKGkpOwogICAgICAgICAgICB9Cgl9Cn0=