Throw an explosive

I'm trying to throw an object generated from a character using C#. Im not a very experienced programmer, How could I do that?

you should create a rigid-body grenade prefab and each time instantiate one and use rigidbody.AddForce() to give it initial speed.

Take a look at Object.Instantiate in Unity's documentation.