C# is a strictly typed language. Why are you using var?
You could try casting your data array to vtkShortArray.