I want to use a string like this Memory.read<string>();
issue is that string has to be non Nullable how do i fix this? Memory requires a struct.
Asked
Active
Viewed 45 times
1

raketmus
- 48
- 6
-
Does this answer your question? [C# creating a non-nullable string. Is it possible? Somehow?](https://stackoverflow.com/questions/26554003/c-sharp-creating-a-non-nullable-string-is-it-possible-somehow) – Mikael Mar 10 '20 at 20:15
-
1Are you talking about [`Memory
`](https://learn.microsoft.com/en-us/dotnet/api/system.memory-1?view=netcore-3.1) struct? – Pavel Anikhouski Mar 10 '20 at 20:18