C# Into To Tring Debug.Log

C#
Debug.Log("WeaponNum = " + WeaponNum);
//or
Debug.Log("WeaponNum = " + WeaponNum.ToStiring());
//or
Debug.Log(string.Format("WeaponNum = {0}", WeaponNum));
Source

Also in C#: