SyntaxFix
Write A Post
Hire A Developer
Questions
var theString = "TEST"; char[] myChar = theString.ToCharArray();
I tested this in the C# interactive window of Visual Studio 2019 and got:
char[4] { 'T', 'E', 'S', 'T' }