Anatomy of a Script file
When you double-click a script asset in Unity, it will be opened in a text editor. By default, Unity will use MonoDevelop, but you can select any editor you like from the External Tools panel in Unity’s preferences.
The initial contents of the file will look something like this: