how to call non static method in window console application

前端 未结 5 1184
萌比男神i
萌比男神i 2021-01-24 22:16

I built a console application and I\'m trying to test if my application works as expected.
I create an instance of the API class as shown in the code below but I receive an

5条回答
  •  孤街浪徒
    2021-01-24 22:41

     public static Dictionary getQualWeight
    

    Put static keyword in the declaration of your method.

提交回复
热议问题