How to Set Outlook Email Categories in UiPath C# project

Error:
image

Please let me know what i am doing wrong? Does {“Red Category”} is not the correct syntax?

Thanks,

Anurag

give a try at

new string[] { "Red Category" };

kindly note the typo Catego t y

Got it. Thanks

@Anurag_Pradhan
Perfect, so when it is working, just close the topic as described here: