© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•3y ago•
10 replies
IKryxxᵈᵉᵛ

creating a new type

how do Integers for example do it, that they are a struct under the hood but instead of calling a constructor like
int i = new int(0);
int i = new int(0);
they can be assigned like
int i = 0;
int i = 0;
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

Creating a new API
C#CC# / help
3y ago
Retrive TypeDeclarationSyntax from a referenced type
C#CC# / help
4y ago
✅ Creating a generic type based on a Type variable rather than a specific type
C#CC# / help
4y ago
cannot convert from 'TypeA' to 'TypeB' with generics
C#CC# / help
2y ago