Answers for "assign new string to var c#"

C#
1

how to change a string variables value c#

/* just do the variable without the string part */
string variable = "unchanged";
variable = "changed";
// ez as that now we changed the value from unchanged to changed hope this helpped
Posted by: Guest on June-26-2021

C# Answers by Framework

Browse Popular Code Answers by Language