In this article I want to explain the main idea and I will give a simple C# implementation of a blockchain.