Replies: 5 comments 3 replies
-
Hello @snikeguo! Thanks for reaching out. |
Beta Was this translation helpful? Give feedback.
-
I want to use c# to write drivers: |
Beta Was this translation helpful? Give feedback.
-
Why is there no plan to support it? I mean why limit the usage of pointers and go really low and instead worry about safety? Isn't this the point to allow the flexibility to write safe code with C# but you can also shoot yourself in the foot if you want to? |
Beta Was this translation helpful? Give feedback.
-
Because of the way the stack is managed.
For this, you can run your own C/C++ code and use interop to consume it in C#. All nanoFramework is built like this! |
Beta Was this translation helpful? Give feedback.
-
Tool
Visual Studio extension
Description
c# code:
byte *ptr =(byte *)0x80000000;
byte *d=*ptr;
build failed:
pointer types in unsafe code aren't supported
How to reproduce
No response
Expected behaviour
No response
Screenshots
No response
Aditional context
No response
Beta Was this translation helpful? Give feedback.
All reactions