TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
rajesh yadav
1.7k
82
9.9k
how to compair a dictionary memeber of a class with an other
Mar 9 2020 3:49 AM
public
class
RootObject1
{
public
Dictionary nodeHierarchy {
get
;
set
; }
public
Dictionary Parentnode {
get
;
set
; }
}
List<RootObject1> ro =
new
List<RootObject1>();
RootObject1 ro1 =
new
RootObject1
{
nodeHierarchy =
new
Dictionary<
string
,
string
>
{
{
"l1"
,
"x"
},{
"l2"
,
"x"
}
}
};
ro.Add(ro1);
Dictionary<
string
,
string
> di =
new
Dictionary<
string
,
string
>();
di.Add(
"l1"
,
"x"
);
di.Add(
"l2"
,
"x"
);
var x = ro.Where(w => w.nodeHierarchy == di);
// follwing is not compairing pls suggest
Reply
Answers (
1
)
Xamarin: Webview is not working for specific Http address
How to post the requirement in Linkedin using LI API