I have 2 methods in my class. I call
The name 'list' does not exist in the current context.
private void GetDb()
var list = selectAll();
public List<ticketinfo> selectAll()
var all = db.ticketinfoes.Where(x => x.TaskType == "WINDOWSADMIN").ToList();
I was running my program in release mode. When I change the mode release to debug, It works fine.