© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
Variable Validation - C#
C
C#
•
4y ago
•
3 replies
Metalkon
Variable Validation
What are the advantages
/disadvantages between both of these bits of code to validate the correct input type
? The top one is mine and the bottom is from a video I was just watching and i
've been wondering if my method is just too sloppy
/ugly
/etc
.
C#
Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
62,470
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Similar Threads
Was this page helpful?
Yes
No
Recent Announcements
Similar Threads
Blazor validation - validation message not added?
C
C# / help
2y ago
✅ validation page
C
C# / help
2y ago
Data validation
C
C# / help
3y ago
❔ Relationship validation
C
C# / help
3y ago