Answer Overflow Logo
Change Theme
Search Answer Overflow
GitHub
Add Your Server
Login
Home
Popular
Topics
Gaming
Programming
MeHow
Posts
Comments
C
C#
•
Created by EliasGPS on 11/13/2022 in
#help
filter System.string [Answered]
That's what you should be looking at first
169 replies
C
C#
•
Created by EliasGPS on 11/13/2022 in
#help
filter System.string [Answered]
so it depends on what type of object contentful takes as an argument
169 replies
C
C#
•
Created by EliasGPS on 11/13/2022 in
#help
filter System.string [Answered]
You would have to describe what data you need in c# and I can help you with that
169 replies
C
C#
•
Created by EliasGPS on 11/13/2022 in
#help
filter System.string [Answered]
i know nothing about this api unfortunately
169 replies
C
C#
•
Created by EliasGPS on 11/13/2022 in
#help
filter System.string [Answered]
what do you want to achieve?
169 replies
C
C#
•
Created by EliasGPS on 11/13/2022 in
#help
filter System.string [Answered]
I recommend using lists
169 replies
C
C#
•
Created by EliasGPS on 11/13/2022 in
#help
filter System.string [Answered]
Yes
169 replies
C
C#
•
Created by EliasGPS on 11/13/2022 in
#help
filter System.string [Answered]
youre welcome
169 replies
C
C#
•
Created by EliasGPS on 11/13/2022 in
#help
filter System.string [Answered]
you can always improve, dont worry
169 replies
C
C#
•
Created by EliasGPS on 11/13/2022 in
#help
filter System.string [Answered]
if you get used to it, such operation is a matter of minutes
169 replies
C
C#
•
Created by EliasGPS on 11/13/2022 in
#help
filter System.string [Answered]
haha, no worries, it is easy but you need to understand how c# works
169 replies
C
C#
•
Created by EliasGPS on 11/13/2022 in
#help
filter System.string [Answered]
so you better be using Linq
169 replies
C
C#
•
Created by EliasGPS on 11/13/2022 in
#help
filter System.string [Answered]
but remember that if this list is empty you will get an exception
169 replies
C
C#
•
Created by EliasGPS on 11/13/2022 in
#help
filter System.string [Answered]
if you want the first one you can do
var firstUser = twitterUsers[0];
var firstUser = twitterUsers[0];
169 replies
C
C#
•
Created by EliasGPS on 11/13/2022 in
#help
filter System.string [Answered]
if every Id then do this:
var userIds = twitterUsers.Select(x => x.Id).ToList();
var userIds = twitterUsers.Select(x => x.Id).ToList();
169 replies
C
C#
•
Created by EliasGPS on 11/13/2022 in
#help
filter System.string [Answered]
so you have to specify which one of them you want the id of
169 replies
C
C#
•
Created by EliasGPS on 11/13/2022 in
#help
filter System.string [Answered]
now you have list of them
169 replies
C
C#
•
Created by EliasGPS on 11/13/2022 in
#help
filter System.string [Answered]
yes you can
169 replies
C
C#
•
Created by EliasGPS on 11/13/2022 in
#help
filter System.string [Answered]
that's why it needs to be a List, Array, Enumerable etc.
169 replies
C
C#
•
Created by EliasGPS on 11/13/2022 in
#help
filter System.string [Answered]
so you can deserialize multiple users from a json
169 replies