Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
java.util.List 列表=新 java.util.ArrayList(); // C#中的错误
List list= new ArrayList();// java
仅:Hashtable hashtable=new Hashtable(); //确定在c#中
无论出于何种原因,Jni4net 默认情况下都没有为 java.util.ArrayList 定义一个 .Net 代理,但它为 java.util.List 定义了一个代理。如果您希望您的代码正常工作,您需要使用 proxigen 工具为自己生成一个 ArrayList 代理。