In the solution explorer you can see nested files:
Let's see how to do the same with the two files
Class1.Custom.cs. The trick is in the project file (csproj). You need to look for the
Class1.Custom.cs file in it and indicate which item is its parent.
<Compile Include="Class1.cs" />
And here's the result:
Do you have a question or a suggestion about this post? Contact me on Twitter or by email!