The type or namespace name ‘NameValueCollection’ could not be found(are you missing a using directive or an assembly reference?)

Solution of The type or namespace name ‘NameValueCollection’ could not be found(are you missing a using directive or an assembly reference?)

Add the following namespace.

using System.Collections.Specialized;

About the Author

avatar