I have this code that returns a List
var addRoles = newRoles
.Where(x => oldRoles
.All(y => y != x))
.ToList();
I am using this in a method however the method requires a string array:
string[]
How can I make the addRoles variable into a string array?
addRoles.ToArray()...