Parsing NON-XML syntax'ed TEXT file in C#

How does one write a custom parser in C# to parse a TEXT file that is formatted by custom tags? WITHOUT using XML / 3rd Party Libs

[product] 
*name*Name1*/name*
*cost*100*/cost*
[/product]
[product]
*name*Name2*/name*
*cost*120*/cost*
[/product]
...

I'm trying to parse it in a way that I can store "Name1" and "Name2" in strings, etc.


Click here view more answers http://ift.tt/1Pp93FE