file output\variables

I have two questions on file output and variables in a windows forms application:
1)How can I write a System::String ^ variable in a file.
2)I have 4 diferent forms and I need to use some variables in all of them.How can I do that?
Topic archived. No new replies allowed.