© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•4y ago•
15 replies
QuickZ

❔ Is there a way to access a prop with the help of a string.

Is there a way to access a prop with the help of a string. Like you do in JS like this
myObject["propName"];
myObject["propName"];

?
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?

Similar Threads

Is there a faster way of splitting strings?
C#CC# / help
16mo ago
❔ Is there a way to override the DefaultInterpolatedStringHandler?
C#CC# / help
3y ago
❔ Is there an easy way to serialize a Dictionary<string, string> to XML nodes?
C#CC# / help
4y ago