X is a variable but a type was expected


I have been stuck on this for 2 days, if you could help me I would be so grateful.
I want to check if the parent of the collided object is named Asteroids, and if it is print finally to the console. The code below returns:

Assets/Scripts/LasarMovement.cs(19,39): error CS0118: Asteroids' is a type’ but a `variable’ was expected

void OnTriggerEnter2D(Collider2D other) {
        if (other.transform.parent == Asteroids) {

if (other.transform.parent.name == “Asteroids”) {
look on the name property of the parent object.