© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•3y ago•
10 replies
Graphics in 2013

✔ Simple code structure question

Let's say I have interface "IShapes" in file Shapes.cs
Now, I'd like to create 3 more classes. Circle, square, and triangle.
Should I create 3 more files for each class
or rather put them all under the Shapes.cs file?
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

✅ Simple question
C#CC# / help
3y ago
simple algorithm question
C#CC# / help
2y ago
simple question [Answered]
C#CC# / help
4y ago