private static async Task DemoValidateColor(LifxClient client) { string colorName = "Pink"; Console.WriteLine(); Console.WriteLine(string.Format("Validating color: {0}", colorName)); var color = await client.ValidateColor(colorName); if (color.Item1) { Console.WriteLine(string.Format("{0} is a valid color name. Values are {1}.", colorName, color.Item2)); } else { Console.WriteLine(string.Format("{0} is not a valid color name.", colorName)); } }