Practicing and exploring
Test your knowledge and understanding by answering some questions, get some hands-on practice, and explore, with deeper research into topics of this chapter.
Exercise 7.1 – Test your knowledge
Answer the following questions:
- What is the difference between a namespace and an assembly?
- How do you reference another project in a
.csproj
file? - What is the difference between a package and a metapackage? Give an example of each.
- Which .NET type does the C#
float
alias represent? - What is the difference between the packages named
NETStandard.Library
andMicrosoft.NETCore.App
? - What is the difference between framework-dependent and self-contained deployments of .NET Core applications?
- What is a RID?
- What is the difference between the
dotnet pack
anddotnet publish
commands? - What types of applications written for the .NET Framework can be ported to .NET Core?
- Can you use packages written for .NET Framework...