Named
is defined in Named.cs
file as a concrete
class. The class provides its constructor whose argument is a
string, and has a public Name
field as a string. The
function ToString()
is the function overrided from
object::ToString()
.
public class Named { public String Name; public Named(string name) { m_Name = name; } public override string ToString() { return m_name; } }