How to find a gameobject's name

I need to know how do I find out a gameobject’s name, Like pretend you are the game object, And you ask, What is my name? I want a C# script to tell me how to do this.

It’s simple!

Try

gameObject.transform.name;