C# Error:Expression denotes a `type', where a `variable', `value' or `method group' was expected

So im converting this script from Java, running into some errors

error CS0119: Expression denotes a type', where a variable’, value' or method group’ was expected

Im getting it twice

Heres my code its pointing to:

            // parent player to Exit Point
			    player.parent = exitPoint.transform;
	ERROR-		player.transform.localPosition = Vector3(-1.5f,0,0);
			// parent PlayerParent to car
			    exitPoint.parent = car.transform;
	ERROR-		exitPoint.transform.localPosition = Vector3(-0.5f,0,0);

This is for getting into and exiting a vehicle.

In C#, you need a ‘new’ operator in front of your Vector3() creation:

player.transform.localPosition = new Vector3(-1.5f, 0,0);

and

exitPoint.transform.localPosition = new Vector3(-0.5f, 0,0);