I need to create a list that discards duplicate entries, so I wanted to use HashSet, like this:
HashSet<int> noDuplicatesList = new HashSet<int>();
However, doing this returns the error "The type or namespace name 'HashSet' could not be found (are you missing a using directive or an assembly reference?)". This error does not occur outside of Vegas's scripting API, which means there must be something specific to Vegas resulting in this issue.
In case it matters, I am using Vegas Pro 17.