© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•3y ago•
6 replies
Developful

❔ How does C#'s inclusion system work?

probably terrible title (again). basically what i'm asking is how does C# know which files to take and compile?
in C++ this is done by the whole
#include
#include
system, but C# has .csproj and that kinda stuff
so does C# just take all the
.cs
.cs
files in the current directory? or does it expand its search until it finds a
.csproj
.csproj
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

How does managed C++ work for interoping with C# code?
C#CC# / help
2y ago
❔ Optional does not work with C# protobufs
C#CC# / help
3y ago
How does marshalling work?
C#CC# / help
5mo ago
How does Dapper work
C#CC# / help
2y ago