mam tej linii w C# Visual Studio 2010:Nie można dodać IntPtr oraz Int
IntPtr a = new IntPtr(10);
IntPtr b = a + 10;
i mówi:
Operator '+' nie może być stosowany do argumentów typu "System.IntPtr" i "int".
MSDN says that this operation should work.
Czy Twój projekt jest kierowany na .NET 4? –
nie używam .net 3.5 – Sp3ct3R