Pregunta de entrevista de Microsoft

write a function that implements the using statement (as the VS does...)