开发者

Pass a c# object of type HashTable as argument

Is it possible (in C#) to pass an object of type HashTable as a parameter to a method?

I'm trying to, but it seems (at debug-time) impossible to reference 开发者_开发技巧the object (i'm getting a null reference object).


Is it possible (in C#) to pass an object of type HashTable as a parameter to a method?

It is possible.

public void MyMethod(HashTable ht) {

(i'm getting a null reference object).

This is probably because you're passing null.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜