Communities for your favorite technologies. Explore all Collectives
Stack Overflow for Teams is now called Stack Internal. Bring the best of human thought and AI automation together at your work.
Bring the best of human thought and AI automation together at your work. Learn more
Find centralized, trusted content and collaborate around the technologies you use most.
Stack Internal
Knowledge at work
Bring the best of human thought and AI automation together at your work.
public static void func1(string a,string c) { func2(a,c)--- error } public static void func2(string a,string c) { }
if im wrong please correct it. I need function to be called this way... function to be static.please help
MyType.Func2(a, b);
Is the error a missing semicolon? The lack of error message makes this a guessing game.
Add a comment
Nothing wrong with that. Forgot ";"?
Or your names are in conflict with already used ones. Try changing them and see what happens.
I dont see anything wrong with the code snippet you have added, Can you give some more details on namespace for these functions
Required, but never shown
By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.
Start asking to get answers
Find the answer to your question by asking.
Explore related questions
See similar questions with these tags.
MyType.Func2(a, b);