window height in csharp forms

Code Example - window height in csharp forms

                
                        //use this.Size in Form1 class

int windowWidth = this.Size.Width;
int windowHeight = this.Size.Height;