Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
@Quirinus Actually, there are. But you need to wrap code that uses pointers in
unsafe
{
}
See: https://docs.microsoft.com/en-us/... -
@Quirinus Well, there's none. The very concept of function pointers was replaced by delegates in C#.
-
Voxera115856yThe differences between core and full framework are mostly that they have been more strict and selective with core, avoiding porting things that they felt was not good design and full framework still has more 3:rd party nugets as its been around longer.
But core it cross platform (one other reason many 3:rd part nugets won’t work) and in many cases faster.
But just looking at some code you could probably not tell which is which unless you recognize some class or function you know only exists in one of them. -
Bubbles68266y@Voxera I’ve also seen cases where core is more secure as well, and Microsoft stated that they are slowly going to shift focus from full framework to Core. So eventually they will only focus on core
-
Quirinus7536y@filthyranter Yeah delegates are okay, except when you actually need function pointers, not delegates.
-
Quirinus7536yWell, theres other legitimate uses. I mean, I could do it without function pointers, but the code would be uglier.
Related Rants
As I get deeper into this project the more I fucking LOVE C# 💜
Although I have been using core. I have VS installed but haven’t used the framework yet. Are there any differences I should know about and get used to?
rant
csharp
dotnet
c#
dotnet core