I can't understand how to use UFCS with instance of class:
void main()
{
string name = "Suliman";
userName username = new userName(name);
/// How to use UFCS here?
userName.name.sayHello();
///
}
class userName
{
string name;
this(string name)
{
this.name = name;
}
void sayHello(string name)
{
writeln(name);
}
}
