public async Task <dynamic> GetWorkerInfo(string workerSid)
        {
            var worker = client.GetWorker(settings.TaskRouter.Workspace.Sid, workerSid);
            var model  = CreateWorkerModel(worker);

            return(model);
        }
    static void Main(string[] args)
    {
        // Find your Account Sid and Auth Token at twilio.com/user/account
        string AccountSid   = "ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX";
        string AuthToken    = "your_auth_token";
        string WorkspaceSid = "WSXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX";
        string WorkerSid    = "WKXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX";
        var    client       = new TaskRouterClient(AccountSid, AuthToken);

        Worker worker = client.GetWorker(WorkspaceSid, WorkerSid);

        Console.WriteLine(worker.Attributes);

        // alternatively
        Dictionary <string, string> fetchedAttributes = worker.ParseAttributes();
        string value = fetchedAttributes["foo"];

        Console.WriteLine(value);
    }