G
Guest
I have a method that takes a string, formats it and returns it
I want to use this in multiple ASP.NET pages, by putting it in a namespace and using that in each asp.net page
What I don't understand is how to write that namespace so that I can reference that method elsewhere by simply writing
string Message = "Hello world";
string newstring = MyNamespace.MyMethod(Message)
so I can call the method without having to create a new objec
Thankyou, Katie.
I want to use this in multiple ASP.NET pages, by putting it in a namespace and using that in each asp.net page
What I don't understand is how to write that namespace so that I can reference that method elsewhere by simply writing
string Message = "Hello world";
string newstring = MyNamespace.MyMethod(Message)
so I can call the method without having to create a new objec
Thankyou, Katie.