0

Change input text at C#

Is it possible to change the input text when you read a line with c#?

12th Aug 2021, 11:30 PM
Kieru
2 odpowiedzi
+ 1
There's only one possible interpretation for this question in my mind, ie, "can a string be modified after it is read in from keyboard input or file", and the answer is: yes. There's a caveat though: since strings are immutable (within the scope of C#, though other languages use the same concept), you aren't modifying the original string, but rather copying the string and returning a modified version of it.
13th Aug 2021, 1:10 AM
BootInk
BootInk - avatar
0
I don't get the idea of changing input text clearly. Do you mean read it first and then change it, or is it something else?
13th Aug 2021, 12:50 AM
Ipang