code in c#  Memory the life！