Hi everyone

I am having this question almost for long time , and so when i went to learn c# (which was before few days) i really want to use it as my primary programming language and so i want to take it into serous level (you may probably see my n00by questions asked here too much)
Ok , let's assume this
When we get a text like :
CODE
Devices founds:
CDROM location = /dev/scd01 , mounted at /media/cdrom
HardDisk Location /dev/sda1 , mounted at /media/harddisk
how i can deal with that? , i want to make the program to know that text as something we could use it (array or any other things that c# support) like we have got a 2 devices found and they are CDROM and HardDisk each of them got their own properties.
if i wasn't clear in my previous example i hope this clear it a bit
Example:
passing args into the program when it start up => app.exe -o file.txt -w Text to be written at the end of the text
here i want the program to recognize the file name "file.txt" which comes after -o , and to know that everythings after -w should be written into the file.
I hope someone could help me with this or at lest giving me reference or something to read it
and thanks in advance