The name 'Arrays' does not exist in the current contex code example
Example: array doesnt exist in the current context csharp
As multiple people in the comments suggested, you are probably missing a using directive.
More specifically using System;.