---
title: "What is the difference between static or dynamic assemblies?"  
description: "What is the difference between static or dynamic assemblies?"  
author: "Sumit Kesarwani"  
published: 2014-01-25  
updated: 2020-09-23  
canonical: https://www.mindstick.com/interview/1877/what-is-the-difference-between-static-or-dynamic-assemblies  
category: "c#"  
tags: ["c#"]  
reading_time: 1 minute  

---

# What is the difference between static or dynamic assemblies?

**Assemblies can be static or dynamic.**

Static assemblies can include .NET Framework types (interfaces and classes), as well as resources for the assembly (bitmaps, JPEG files, resource files, and so on). Static assemblies are stored on disk in portable executable (PE) files.

Dynamic assemblies which are run directly from memory and are not saved to disk before execution. You can save dynamic assemblies to disk after they have executed.

## Answers

### Answer by Sumit Kesarwani

**Assemblies can be static or dynamic.**

Static assemblies can include .NET Framework types (interfaces and classes), as well as resources for the assembly (bitmaps, JPEG files, resource files, and so on). Static assemblies are stored on disk in portable executable (PE) files.

Dynamic assemblies which are run directly from memory and are not saved to disk before execution. You can save dynamic assemblies to disk after they have executed.


---

Original Source: https://www.mindstick.com/interview/1877/what-is-the-difference-between-static-or-dynamic-assemblies

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
