This is my code
public class SEWorkflow
{
public Dictionary<SETabs, bool> tabNVPair { get; set; }
}
public enum SETabs
{
Main,
Attachments,
TechTeamReview,
SecurityTeamReview,
TechTeamImplementation
}
//I am initialising like this...
List<SEWorkflow> result = new List<SEWorkflow>()
{
new SEWorkflow()
{
tabNVPair = new Dictionary<SETabs,bool>()
{
SETabs.Main = true,
SETabs.Attachments = true,
}
}
}
I get an error // //Error CS0131 The left-hand side of an assignment must be a variable, property or indexer
How will I initialise?