How Can I Short this

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;

public class Baslik_animasyon : MonoBehaviour
{
Text Baslik;
// Start is called before the first frame update
void Start()
{
Baslik = GetComponent();
StartCoroutine(yaz());
}
void Update(){}
IEnumerator yaz()
{
Baslik.text=“C”;
yield return new WaitForSeconds(0.1F);
Baslik.text=“CO”;
yield return new WaitForSeconds(0.1F);
Baslik.text=“COR”;
yield return new WaitForSeconds(0.1F);
Baslik.text=“CORR”;
yield return new WaitForSeconds(0.1F);
Baslik.text=“CORRU”;
yield return new WaitForSeconds(0.1F);
Baslik.text=“CORRUP”;
yield return new WaitForSeconds(0.1F);
Baslik.text=“CORRUPT”;
yield return new WaitForSeconds(0.1F);
Baslik.text=“CORRUPTE”;
yield return new WaitForSeconds(0.1F);
Baslik.text=“CORRUPTED”;
yield return new WaitForSeconds(0.1F);
}
}

something like,

IEnumerator yaz()
{
 Baslik.text = "";
 string txt = "CORRUPTED";
 for (int i = 0; i < txt.Length; i++)
 {
     Baslik.text += txt[i];
     yield return new WaitForSeconds(0.1F);
 }
}

heres some more typewriter scripts,

*also check code tags, so its easier to read:

it works thank you soo much