Question: What is the difference between a SDK (software development kit) and runtime in .NET Core?

  1. The SDK is the "virtual machine" that hosts and runs the application and abstracts all the interaction with the operating system; the runtime usually includes documentation and other help files.
  2. The runtime is the virtual machine that hosts and runs the application and abstracts all the interaction with the operating system; the SDK usually includes documentation and other help files.
  3. The runtime compiles code along with the CLR; the SDK usually includes documentation and other help files.
  4. The SDK compiles code along with the CLR; the runtime usually includes documentation and other help files.

Answer: The correct answer of the above question is Option B:The runtime is the virtual machine that hosts and runs the application and abstracts all the interaction with the operating system; the SDK usually includes documentation and other help files.