Tech
News
Videos
Forums
Jobs
Books
Events
More
Interviews
Live
Learn
Training
Career
Members
Blogs
Challenges
Certification
Contribute
Article
Blog
Video
Ebook
Interview Question
Collapse
Feed
Dashboard
Wallet
Learn
Achievements
Network
Rewards
SharpGPT
Premium
Contribute
Article
Blog
Video
Ebook
Interview Question
Register
Login
.NET
ADO.NET
Android
ASP.NET
C#
Databases & DBA
Design Patterns & Practices
Java
Learn iOS Programming
OOP/OOD
SharePoint
Software Testing
Web Development
WPF
View All
1
Reply
Does direct memory manipulation is an unsafe operations, if yes, how?
Manish Tewatia
13y
4.6k
0
Reply
Submit
Yes, direct memory manipulation is an unsafe operation in .NET because the CLR can't be sure what effect direct writes to memory will have on existing structures and so can't give any guarantees about its safety. This is why any code that uses unmanaged pointers needs to be marked as 'unsafe' when using C#.
Vulpes
13y
0
Message