how tf is it not possibke to convert string to a byte??????????
byte* bytearray = (byte*)Marshal.StringToBSTR(string);
Please don't talk about pointers to someone just learning C#
I'd recommend start with CS50 and then go into C# programming
unsafe code and marshal is part of csharp.
maybe not when you're 2 weeks into learn C#
Обсуждают сегодня