I came across(inside(definition) of the string "class"(.NET)):
public String(char* value);
What is written in the commentary:
// Parameters:
// value:
// A pointer to a null-terminated array of Unicode characters.
My questions:
Can I use it only in an unsafe context, does it still make sense to use that String(char* value) nowadays or is this just a relict from the past, based on this "ABC\0"(termination of that string) ?
If I can/should use it, how and what would be a situation for this method ?