Don't use strings! #42
Bartolomeus-649
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Why use a string?
In my opinion strings should be used for one and one thing only, and that is for containing text which only use is too be displayed to a human. Anything else should be stored in a suitable type.
In this particular case there is even a .NET class: IPEndPoint.
Beta Was this translation helpful? Give feedback.
All reactions