C
C#2y ago
bee__9083

❔ Messing Around with Strings

Hey I was just messing around and I was wondering how I can have two string names that have different stuff and put them in one WriteLine statement. This is my code and output of the code. What I want is something like "John and Bob are identical brothers with different ages" I don't want to have to type in difficult code since I am a beginner.
4 Replies
SG97
SG972y ago
instead of re-using string/int for 2 persons, why not have those separately for both? which will evolve into using classes for both Bob and John
bee__9083
bee__9083OP2y ago
Yeah I figured I would have to do that since code runs very linearly
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
Accord
Accord2y ago
Was this issue resolved? If so, run /close - otherwise I will mark this as stale and this post will be archived until there is new activity.
Want results from more Discord servers?
Add your server