I am looking for direction here. I have a file that could have 500 lines to 10000+ lines of data. Its structured like C# (Example below). I need to know how I can find the first line that is the name of the function then the opening bracket to the closed bracket. It can have multiple opening and closing brackets in the middle of the first one and inside of those, I need that data loaded into an array. I have built structure arrays in the past but I think I need a different array… List of T? I will have to size the arrays differently while reading the function. I have an example below of how I need to structure the data. I need something that can sort and be read quickly.

Function Name
UserName=”” time=””/* date */
{
Param1=””
Param2=””
}
Definition Name=”” Cat=””
UserName=”” time=””/* date */
{
Desc=””
FBD1=””
{
Param1=””
Param2=””
}
FBD2=””
{
Param1=””Name:  Capture.PNG
Views: 1150
Size:  6.6 KB
Param2=””
Param2=””
}
EXP1 Name=””
}