basic player movement gives error cs0120

using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class mouselook : MonoBehaviour
{
    public float mouseSensitivity = 100f;

    public Transform playerBody;

    float xRotation = 0f;


    // Start is called before the first frame update
    void Start()
    {
        Cursor.lockState = 
    }

    // Update is called once per frame
    void Update()
    {
        float mouseX = Input.GetAxis("Mouse X") * mouseSensitivity * Time.deltaTime;
        float mouseY = Input.GetAxis("Mouse Y") * mouseSensitivity * Time.deltaTime;

        xRotation -= mouseY;
        xRotation = Mathf.Clamp(xRotation, -90f, 90f);

        Transform.localRotation = Quaternion.Euler(xRotation, 0f, 0f);
        playerBody.Rotate(Vector3.up * mouseX);
    }
}

thats the code but it keep giving me the same error (Assets\mouselook.cs(29,9): error CS0120: An object reference is required for the non-static field, method, or property ‘Transform.localRotation’) idk why ı didnt have that problem last time ı tried?!

Hello.

line 29

is

     transform.localRotation = Quaternion.Euler(xRotation, 0f, 0f);

not

     Transform.localRotation = Quaternion.Euler(xRotation, 0f, 0f);

Transform refears to transfomr concept, the variable type. transfomr refears to the component transform of the object.

Bye.