Last active
August 18, 2024 23:37
-
-
Save SchreinerK/2354ef7c4404454cb8511c81f77b8bf5 to your computer and use it in GitHub Desktop.
string.Create with stackalloc (.net core)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public override string ToString() => | |
string.Create(null, stackalloc char[256], $"Type={GetType().Name}"); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment