You need to pass the link to the list by value, not by reference:
private void GetChars(List<char> charsToPopulate)
, . , char, .
, -, LINQ :
{
charsToPopulate.AddRange(from t in things select t.CharSymbol);
}
, . "" , :
private List<char> GetChars()
{
List<char> charsToPopulate = new List<char>();
foreach(Thing t in Things)
{
charsToPopulate.Add(t.CharSymbol);
}
return charsToPopulate;
}
LINQ:
private List<char> GetChars()
{
return things.Select(t => t.CharSymbol)
.ToList();
}