That particular datatype will be used to represent a unique plugin ID.
The data is part of the header of a structure that will be sent via Sockets.
The communication protocol have to be sure that the sent header is always
the same fixed size (the body can have variying size as I pass along the
size of the content in the header also).
Of course, I can always pad or truncate the PluginID to 10 characters and
ensure that when the plugins are loaded, that the plugin id value in the XML
definition of the user plugin doesn't contain more that 10 characters...
"Ravi Ambros Wallau" <no****@nospam.com> wrote in message
news:%2****************@TK2MSFTNGP09.phx.gbl...
A string object is imutable. Once a string is created, it cannot be
changed.
string[10] is a vector of strings in C#...
You can create a vector of char, if this is what you want to do...
What do you plan to do?
"Michel Racicot" <mr******@hotmail.com> wrote in message
news:ek*************@tk2msftngp13.phx.gbl... In some language, it's possible to specify a "predefined" size for string
objects.
Exemple: string[10] which is a string of 10 characters.
Is it possible to do this in C#?
Thank you