Make sure that the method from another class is public. If the target method is static - you can use OtherClass.OtherMethod(); to execute it. If not - you have to create an object of this class, to have access to its methods: OtherClass MyObj = new OtherClass(); MyObj.OtherMethod();
"assignmentexpert.com" is professional group of people in Math subjects! They did assignments in very high level of mathematical modelling in the best quality. Thanks a lot
Comments
Leave a comment