How do i print selected object name on this GUI

I have this GUI prints out numbers of objects i select and rather than printing this i want to print out object name on it. How do i do this please help me

using UnityEngine;
using System.Collections;

namespace SimpleSelect
{
    public class TestGUI : MonoBehaviour
    {
        private Rect labelRect = new Rect(5, 5, 250, 25);

        void Update()
        {
            if(Input.GetKeyDown("d"))
            {
                GameObject[] obj = Selections.GetSelectedObjects();
                for(int i = 0; i < obj.Length; i++) GameObject.Destroy(obj[i]);
            }
        }

        void OnGUI()
        {
            GUI.Box(this.labelRect, "You selected " + Selections.GetSelectionCount() + " of " + Selections.GetSelectableCount() + " objects!");
        }
    }
}

What do you mean object name?

Check the documentation on names I guess

Otherwise simply use a string variable to assign the names of the objects.

       public GameObject exampleOne;

        exampleOne.name = name1; //What ever name you're using instead of name1
        s = exampleOne.name.ToString();

Then use ‘s’ instead of ‘Selections.GetSelectionCount()’ I guess.
That is if I’m even understanding what you’re asking.

Maybe you mean

s = obj.name.ToString();

GUI.Box(this.labelRect, "You selected " + Selections.GetSelectionCount() + " of " + Selections.GetSelectableCount() + s + "(s)");