finding a tile

I am able to assign a tile to a script through the inspector via public Tile tile. How would I do this through script? For example, I can cache game objects by getting their components at start up, gameObject.GetComponent(). I would like to do the same with tiles. Thanks!

Figured it out - Resources.Load did the trick.