C
C#5mo 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
reflectronic5mo ago
because BeginInvoke is not supported anymore
eid
eidOP5mo ago
why they did that? it's good and useful
reflectronic
reflectronic5mo 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
eidOP5mo ago
ok, if it is deprecated ,why they still found, and i can reach to it
reflectronic
reflectronic5mo ago
because the .NET assembly format requires that it exists
Angius
Angius5mo ago
Same reason non-generic collections and WebClient are still a thing Backwards compatibility to a fault
eid
eidOP5mo ago
u mean no way to use it?
Angius
Angius5mo ago
No, no way to use it
Want results from more Discord servers?
Add your server