Update AddExample.cs: Fix compilation error: the local variable ms is already defined

Fix compilation error:
the local variable ms is already defined on line 28.