If I have a method with a using block like this...
    public IEnumerable<Person> GetPersons()
    {
        using (var context = new linqAssignmentsDataContext())
        {
            return context.Persons.Where(p => p.LastName.Contans("dahl"));
        }
    }
...that returns the value from within the using block, does the IDisposable object still get disposed?
 
     
    