is it possible to have global level methods in c#? I have several forms and they are going to use roughly similar logic. i can design methods which can work with them all depending on what parameters are passed to them but how do i make these methods global so that all the forms can access them?
for example. one method retrieve data from a database one field and record at a time. two forms need to use it. but i only know how to create methods that can be accessed by one form. this i do by placing the method within the class curly brackets of the form. but how do i make such a method accessible to both forms?