Hi. I read a *.txt file line by line very simple with ReadLines in unity.. The text file looks like this: Code (CSharp): using System.Collections; using System.Collections.Generic; using UnityEngine; public class Testing : MonoBehaviour { public float fOne; public GameObject gObjOne; public GameObject[] gObjTwo; // Use this for initialization void Start () { int testVar; testVar = 32; } // Update is called once per frame void Update () { } } Now, what I want is to put all these variable names (E.g. fOne, gObjOne, gObjTwo, testVar) in a list: Code (CSharp): private List<string> varNames = new List<String> (); Is this possible?