Asynchronous Programming. One of the things that confuses most developers is asynchronous versus synchronous execution model. So, in this article, I’m going to explain the difference between synchronous and asynchronous execution model and then explain how we can do asynchronous programming with C#. Synchronous and Asynchronous execution model Synchronous program execution- In a synchronous program…Continue reading C# Asynchronous Programming with async / await
Category: Programming
C# Nullable types; what are they and why do we need them?
In C#, as you probably know that a value type cannot have null. So if you define a bool it can have either a true or a false. But there are situations that you would also like to cater for null values. For example, if you’re working with a database and you have a table called…Continue reading C# Nullable types; what are they and why do we need them?
C# Lamda Expressions
What are these lambda expressions? A lambda expression is nothing but an anonymous method. That is a method that has no access modifier, like public or private, and has no name, and it has no return statement. Why do we use them? Why do we use anonymous methods? For convenience. We can write less code…Continue reading C# Lamda Expressions
The mysteries of ‘this’ keyword in Javascript
‘This’ is a very straightforward concept in other languages. Not so in javascript. It can point to pretty much anything depending on the context. What the hell is this? If you are coming from another language, which is Object Oriented, such as Java, you are no doubt familiar with the concept of this. This keyword is used inside of…Continue reading The mysteries of ‘this’ keyword in Javascript
Presentation: Fundamental of Unit Testing With C# and NUnit
Recently I have taken a session on Unit Testing and Its fundamental topics. I would like to share my presentation here. The medium of instruction this session is Bengali. So, I just share the slides that is in English. However, I shall upload the Video for Bangladeshi learner as soon as I got it. Here…Continue reading Presentation: Fundamental of Unit Testing With C# and NUnit
The ‘Pointer’ in C++, demystified. [Part-2]
In Part 1 of this series we explored the conceptual landscape of Pointer in C++. We discussed Pointer definition, how a Pointer variable declare, reference and some primary concepts on Pointer . In this article I’ll share a some additional intermediate level examples from the Docker ecosystem that you need to know. At first write following program …Continue reading The ‘Pointer’ in C++, demystified. [Part-2]
The ‘Pointer’ in C++, demystified. [Part-1]
When I first started learning C++, it took me some time to understand the Pointer in C++ and be able to quickly identify Pointer is a variable that point to another variable’s memory address. I found that the hardest thing about understanding the Pointer is that you usually forget the different cases and situations that you have read…Continue reading The ‘Pointer’ in C++, demystified. [Part-1]
Python Package
In the last post I discussed about Python Module. From last post we came to know that a Python module is simply a Python source file, which can expose classes, functions and global variables.So, what is Package? The simple striate-forward answer is “A Python package is simply a directory of Python module(s).” Make a Package…Continue reading Python Package
Python Module
What is Module Module is logical organize of reusable Python Code. Module groups the related code for easy to understand and use. As we know almost everything on Python are object, Module is also an object that can be bind and reference. Simply, a module is a file that define functions, classes and variables. A…Continue reading Python Module