コード例 #1
0
        /// <summary>
        /// </summary>
        private List <string> ConvertToListOfStrings(string s)
        {
            var lst = new List <string>();

            if (!s.IsNull())
            {
                lst = GenUtil.NormalizeEol(s)
                      .Split(new string[] { "\r\n" }, StringSplitOptions.RemoveEmptyEntries)
                      .Distinct().ToList();
            }

            return(lst);
        }