C
C#6mo ago
eid

why that?

System.PlatformNotSupportedException: Operation is not supported on this platform. at System.Func`2.BeginInvoke(T arg, AsyncCallback callback, Object object)
8 Replies
reflectronic
reflectronic6mo ago
because BeginInvoke is not supported anymore
eid
eidOP6mo ago
why they did that? it's good and useful
reflectronic
reflectronic6mo ago
no, it is using deprecated technology, which is why it was removed in new versions of .NET you should use Task.Run instead, it is a better replacement and it integrates with await which is the reccomended pattern
eid
eidOP6mo ago
ok, if it is deprecated ,why they still found, and i can reach to it
reflectronic
reflectronic6mo ago
because the .NET assembly format requires that it exists
Angius
Angius6mo ago
Same reason non-generic collections and WebClient are still a thing Backwards compatibility to a fault
eid
eidOP6mo ago
u mean no way to use it?
Angius
Angius6mo ago
No, no way to use it
Want results from more Discord servers?
Add your server