how can you remove substring from generic type code example Example: c# delete list ListName.Clear();