I came across a question stating: Which on of the following is a Descendant operator:
A) ..
B) ...
C) &
D) *
WHICH IS IT? AND PLEASE EXPLAIN WHY OR REFER ANY ARTICLE OR LINK
The answer is A.
The ..
operator is the descendant operator; you can use it in place of the normal . member-access operator :
var names = pt..name;
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.