Hi,
I have used this
#using <System.dll>
using namespace System;
using namespace System::Collections::Generic;
using namespace System::Linq;
SortedList<double, String^>^ slist = gcnew SortedList<double, String^>();
in one program its working well. But Now when I pasted the same code with all given headers in second program its not being identified there. Errors are coming.
'SortedList' : ambiguous symbol
1>could be 'c:\program files\reference assemblies\microsoft\framework\.netframework\v4.0\system.dll : System::Collections::Generic:: SortedList'
1>'c:\program files\reference assemblies\microsoft\framework\.netframework\v4.0\mscorlib.dll : System::Collections:: SortedList'
Any help why this error could be avoided. Thanks in advance for sparing time for me.