- What is the difference between a namespace and an assembly?
Answer: A namespace is a logical container for a type. An assembly is a physical container for a type.
- How do you reference another project in a
.csproj
file?
<ItemGroup> <ProjectReference Include="..\Calculator\Calculator.csproj" /> </ItemGroup>
- What is the difference between a package and a metapackage?
Answer: A metapackage is a grouping of packages.
- Which .NET type does the C#
float
alias represent?
Answer:System.Single
.
- What is the difference between the packages named
NETStandard.Library
andMicrosoft.NETCore.App
?
Answer:Microsoft.NETCore.App
is a superset of NETStandard.Library
; this means that it implements all of .NET Standard 2.0 and extra APIs specific to .NET Core 2.0.
- What is the difference between framework-dependent and self-contained deployments of .NET Core applications?
Answer: Framework-dependent .NET Core applications require...