In some cases, you need to create a bunch of repeating code based on some data you intended on processing. In the following examples, I had all the field names listed in a powershell
script but I just needed to translate it to C#.
I pasted the data in needed onto a linux box into a file called t.txt
. This is the general format of the file where this is just a small piece of the 50 or so fields this script was displaying.
~/tmp % head t.txt