I would like to create a variable to use the add and distinct method in my C# project.
Problem1
I can’t seem to use the datatype: system.collections.generics giving me an error: Not all generic types could be resolved.
Problem2
Once the datatype is set, I would like to add string items, using a for each activity, and then use the distinct method. I guess once the problem1 has been solved, it would be easier to solve this problem.
I wonder how I can achieve the process in my project, and I can get any help from this community. I look forward to hearing from you.