Want to build the ChatGPT based Apps? Start here
Become a member
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
C# Corner Home
Technologies
Monthly Leaders
ASK A QUESTION
Forum guidelines
Thamsanqa Ngcongwane
2k
184
20.3k
How to convert Object variable type into a string
Feb 12 2020 3:17 AM
How to convert Object variable type into a string
My simple code
void
Polygon_Clicked(
object
sender, EventArgs e) {
try
{
var tempData =(Polygon)sender;
var data = tempData.BindingContext; }
catch
(Exception exp)
{
DisplayAlert(
"Error"
, $
"Oops! Something went wrong. {exp.Message}"
,
"OK"
);
}
}
How to convert the following line of code to a list
var data = tempData.BindingContext;
Reply
Answers (
3
)
Different way to fix IDOR Vulnerability issue in a ASP .NET
change values in json file