Get Resoloution of Unity Editor Window

I’m trying to retrieve the Unity Editor resolution in C# and store it in a variable (such as EditorRes), as shown in the image below:
119474-file.png

Thanks!

Use Screen.Width and Screen.Height , you can use a Vector2 to store them