开发者

C# object reference [closed]

开发者 https://www.devze.com 2022-12-10 17:23 出处:网络
It's difficult to tell what is being asked here. This question开发者_如何学C is ambiguous, vague, incomplete, overly broad, or rhetorical andcannot be reasonably answered in its current form.
It's difficult to tell what is being asked here. This question开发者_如何学C is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. Closed 10 years ago.

i don't know what you call it, but how would i change fields / use methods from an object, with the object i want to call with, a field?


object1.object2.property

You can access object2 as a property of object1, and then access object2's properties just like normal

0

精彩评论

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