Instantiate or CreatePrimitive and change ending of each name?

Hi!
Is there a possibility to Instantiate or CreatePrimitive an object an make for each new another ending? So for example the first would be called ‘Sphere1’, the second ‘Sphere2’, the third ‘Sphere3’ and so on?
Thanks!

A C# example of how to iterate an int and convert to a string to add to the end of the original string.

using UnityEngine;
using System.Collections;

public class Example : MonoBehaviour 
{
	string name;
	int num = 0;
	
	void Update()
	{
		if(Input.GetKeyDown (KeyCode.I))
		{
			name = "GameObject " + num.ToString();
			GameObject newSphere = new GameObject(name);	
			num++;
		}
	}
}