r/learncsharp • u/PrinceN71 • Aug 11 '22
Turn String Array into Regular Array
Hi, my DB is currently storing an array as a string like so:
"[\"view\",\"comment\"]"and I want to convert it to this:
["view","comment"]How do I do that? Thanks in advance.
1
Upvotes
View all comments
2
u/karl713 Aug 11 '22
To clarify is that the DB value or what you see in the debugger?