Tagged Questions
4
votes
4answers
115 views
How do you proactively guard against errors of omission?
I'll preface this with I don't know if anyone else who's been programming as long as I have actually has this problem, but at the very least, the answer might help someone with less xp.
I just stared ...
18
votes
8answers
2k views
How to implement DRY principle when using 'using' keyword?
Consider these methods:
public List<Employee> GetAllEmployees()
{
using (Entities entities = new Entities())
{
return entities.Employees.ToList();
}
}
public ...