7
olezhka
7y

var devRant = new DevRant();
devRant.Subscribed += (target, args) =>
{
Console.WriteLine("Welcome, " + args.User.Name + "!");
}

...

var self = devRant.GetCurrentUser();
self.Subscribe();
...
...
> Welcome, olezhka!

Comments
Add Comment