Author: M. Saqib

How to Read and Write Excel Files using C# and Excel Interop Library

This tutorial shows you how to Read and Write Excel files in C#. We are going to use Microsoft COM Objects i.e. Excel 16 object in our application. Use the following sample C# source codes for Excel reading and writing. There are multiple examples discussed in this tutorial to read Excel files using C# and write data back to Excel file.

Read More

LRU and FIFO L1 Cache Implementation using C

This is a C program to demonstrate cache mechanism by simulating a cache in C. The source code can run in any C Compiler with minor modifications if required. It can run on real memory traces as input to your cache simulator. We have implemented two cache replacement policies i.e. least recently used (LRU) and First-in first-out (FIFO) replacement policies.

Read More