How to stop coroutines, when paused

I wanted to know that can coroutines be stopped using any function (like StopCoroutine) when they are currently suspended or paused, (using waitforseconds or by any other means) in c#? .
And if so please tell me how.

you answered your own question within itself =D

Coroutine theOneIWantToStopAnytime = StartCoroutine();

this cancels them from the outside, immediately, regardless of what state is their execution in.

are you trying to pause them?

if so you can say

time.timeScale = 0;

and just put that wherever you’re trying to temporarily suspend the coroutine, then where ever you want to pick it back up say

time.timeScale = 1;