Can't you just replace Array.Count by Array.Length? Length returns the same result, and is supported from Framework 1. BB