Can someone translate this script from javascript to C# please?

var lookSensitivity : float = 5;

@HideInInspector	
					
var yRotation : float;

@HideInInspector

var xRotation : float;

@HideInInspector

var currentYRotation : float;

@HideInInspector

var currentXRotation : float;

@HideInInspector

var yRotationV :  float;

@HideInInspector

var xRotationV : float;

@HideInInspector

var lookSmoothDamp : float = 0.1;

@HideInInspector

function Update () 

{

	yRotation += Input.GetAxis("Mouse X") * lookSensitivity;
	xRotation -= Input.GetAxis("Mouse Y") * lookSensitivity;
	
	xRotation = Mathf.Clamp(xRotation, -90, 90);
	
	currentXRotation = Mathf.SmoothDamp(currentXRotation, xRotation, xRotationV, lookSmoothDamp);
	currentYRotation = Mathf.SmoothDamp(currentYRotation, yRotation, yRotationV, lookSmoothDamp);
	
	transform.rotation = Quaternion.Euler(currentXRotation, currentYRotation, 0);
}

Im probably going to ask this question alot with scripts im kinda noobish ^^’

My pleasure!

using System.Collections;
using UnityEngine;

public class SmoothMouseLook : MonoBehaviour {
    public float lookSensitivity;
    public float lookSmoothDamp = 0.1f;
    float yRotation = 0;
    float xRotation = 0;
    float currentYRotation = 0;
    float currentXRotation = 0;
    float yRotationV = 0;
    float xRotationV = 0;

    void Update() {
        yRotation += Input.GetAxis("Mouse X") * lookSensitivity;
        xRotation -= Input.GetAxis("Mouse Y") * lookSensitivity;
        xRotation = Mathf.Clamp(xRotation, -90, 90);
        currentXRotation = Mathf.SmoothDamp(currentXRotation, xRotation, ref xRotationV, lookSmoothDamp);
        currentYRotation = Mathf.SmoothDamp(currentYRotation, yRotation, ref yRotationV, lookSmoothDamp);
        transform.rotation = Quaternion.Euler(currentXRotation, currentYRotation, 0);
    }
}