Browsed by
Category: Software Engineering

Fastest way to create instance of a Type in Runtime C#

Fastest way to create instance of a Type in Runtime C#

When working with refactoring and loading and creating instances of types in run time using c# the important factor you should take care of is the performance and time needed to create this instance. we always need to create objects of a type and we should use the method that will not take too much time to create this object. In this thread, I am going to explain the most famous ways to do this and we will see the…

Read More Read More

Difference between static class and singleton pattern?

Difference between static class and singleton pattern?

Static Class:- You cannot create the instance of static class. Loaded automatically by the .NET Framework common language runtime (CLR) when the program or namespace containing the class is loaded. Static Class cannot have constructor. We cannot pass the static class to method. We cannot inherit Static class to another Static class in C#. A class having all static methods. Better performance (static methods are bonded on compile time) static objects are stored in┬ástack. we can not clone the static…

Read More Read More

C# Plugin Manager

C# Plugin Manager

Plugins and modules are widely used in almost any type of application. They enhance them with additional features. Beside adding features, plugins have the big advantage, that they separate code in a very clean and testable way. Even hundreds of plugins can be managed without problems, as their functionality is encapsuled in a single place. This tutorial will explain you, how to implement a C# plugin- and module application-architecure, which is quite simple, clean and easy to maintain! Differences between…

Read More Read More

Learn how to design large-scale systems

Learn how to design large-scale systems

The System Design Primer Learn how to design large-scale systems. Prep for the system design interview. Includes Anki flashcards.https://github.com/donnemartin/system-design-primer7,972 forks.55,274 stars.67 open issues.Recent commits: zh-Hans: Fix typo (#246), Donne Martin Add missing word in cache write through discussion (#245), Donne Martin Add Bengali translation link (#242), GitHub Fix #228: Address mutex latency discrepancy (#233), Donne Martin Add Link: A 360 Degree View Of The Entire Netflix Stack (#229), Donne Martin