Taking a string result collected from a function in a class (not a form)

resultstring1

I want the string resultstring1 to be available to Form1 and Form2.

How do I pass the string?

string some_function()
{
.....
return resultstring1;
}

Thanks,

I guess the simple things escape me today

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.