Classes and Methods Usage - vb.net

Hello all, Can you please tell me the steps and the syntax for creating a class that I can call from a method? this is similar to this post but I am unable to make what I would expect the equivalent vb code to work. What I have done so far is to create a new method and enter the following and then press the "check syntax" button, which causes an error. Public Class Foo() Function Food() as string Return "Cheese" End function End Class I am confident in vb.net coding but am getting to grips with developing Methods in Aras and so I may have not understood some concepts. Any help would be much appreciated.
Parents Reply Children
No Data