trying to convert this class to C# but it takes in parameters and I'm not sure how to work around that..

function Rectangle(x,y,w,h) { this.x = x; this.y = y; this.width = w; this.height = h; this.right = x + w; this.bottom = y + h; ...//there's more but just function definitions

any assistance would be appreciated