mohamed Tayel

mohamed Tayel @moh_moh701

About: Technical Project Lead at SURE Egypt with 20+ years in software development. Specializes in .Net, and SQL Server. Passionate about delivering quality solutions

Joined:
Feb 5, 2024

mohamed Tayel
articles - 250 total

Generative AI: What It Is, How It Works, and Why It Matters

📌 Introduction: The Shocking Microsoft Decision In a surprising move, Microsoft announced...

Learn More 0 0May 19

Singleton vs. Monostate in C#: Understand the Difference with a Real-World Story and Code Examples

Learn the difference between Singleton and Monostate design patterns in C# through a simple...

Learn More 4 0May 6

Specification Pattern P3

🔹 Why Use the Specification Pattern? ❌ Problem Without It Our Generic...

Learn More 1 1Feb 2

Specification Pattern P2

🚀 Step 2: Implementing a Generic Repository (Introducing Category Repository) 💡...

Learn More 0 0Feb 2

Specification Pattern P1

🚀 Step 1: Case Study Without Generic Repository & Specification Pattern 💡 Goal:...

Learn More 0 0Feb 2

Using a Custom Type as a Dictionary Key in C#

In C#, dictionaries rely on keys behaving correctly when it comes to equality and hashing. Standard...

Learn More 0 0Feb 2

Understanding Dictionary Enumeration and Sorting in C#

Introduction Dictionaries in C# are widely used for key-value storage and fast lookups....

Learn More 0 0Feb 2

Optimizing Lookups in C# Dictionaries with Case-Insensitive Keys

When working with collections in C#, dictionaries provide an efficient way to store and retrieve data...

Learn More 1 0Feb 2

Optimizing Collection Operations in C#: Importing, Searching, and Sorting

Introduction Working with collections efficiently is a cornerstone of C# development. This...

Learn More 0 0Jan 26

Understanding String Interning in C#

Meta Description: Learn what string interning is in C#, why it's used, how it optimizes memory usage,...

Learn More 9 0Dec 14 '24

Understanding O(log N): Logarithmic Time Complexity

Logarithmic time complexity, denoted as O(log N), represents an algorithm where the number of...

Learn More 1 0Dec 10 '24

Understanding O(N ): Quadratic Time Complexity in C#

When an algorithm has O(N²) complexity, it means the number of operations it performs is proportional...

Learn More 1 0Dec 10 '24

Understanding O(N): Linear Time Complexity in Algorithms

What is O(N)? In algorithm analysis, O(N), or linear time complexity, indicates that the...

Learn More 1 0Dec 10 '24

Understanding O(1): The Power of Constant Time

Introduction In the world of computer science, Big O notation is a fundamental concept...

Learn More 1 0Dec 10 '24

Understanding Big O Notation: A Beginner's Guide

Performance is a key consideration when writing code, especially when dealing with large datasets....

Learn More 3 0Dec 10 '24

Why Arrays Seem Strange

Arrays are the most fundamental collection type in programming, but their design and limitations...

Learn More 1 0Dec 10 '24

Understanding Array Equality in C#

When working with arrays in C#, a common pitfall is assuming that comparing two arrays evaluates...

Learn More 1 0Dec 10 '24

Understanding Jagged Arrays in C#

Jagged arrays are an efficient way to represent collections of collections in C#. In this article,...

Learn More 1 0Dec 9 '24

Enumerating Dictionary Keys

In this article, we’ll explore how to enumerate dictionary keys while working with a collection of...

Learn More 1 0Dec 9 '24

Partitioning Data with a Dictionary in C#

Partitioning data using a dictionary in C# is a versatile technique that enables you to group and...

Learn More 1 0Dec 9 '24

Refactoring Complex Conditions: Clean Code Solutions for Nested If Statements

Nested if statements can make code cumbersome and challenging to read. In this article, we'll explore...

Learn More 4 0Dec 4 '24

Chaining LINQ Methods in C#: Why Order Matters

LINQ (Language Integrated Query) is one of the most powerful features of C#, allowing developers to...

Learn More 2 0Dec 4 '24

Limiting Results with `Take` and Ordering Data with `OrderBy`

Learn how to use LINQ's Take and OrderBy methods in C# to limit results, sort collections, and...

Learn More 1 0Dec 4 '24

Removing Elements from Lists in C# with RemoveAll

When working with lists in C#, a common task is to remove elements that match a specific condition....

Learn More 1 1Dec 3 '24

Safely Modifying Lists in C#: Avoiding Index Issues During Iteration

When working with C# lists, you might encounter unexpected issues when modifying a list during...

Learn More 2 0Dec 3 '24

How to Systematically Remove Elements from a List in C#

When working with collections in C#, you may come across scenarios where you need to remove elements...

Learn More 1 0Dec 2 '24

Mastering List Enumeration in C#: Full Code Examples

When working with collections in C#, enumeration and manipulation of lists are fundamental skills....

Learn More 1 0Dec 2 '24

Batching Iteration: A User-Friendly Way to Display Data

When working with large datasets, displaying everything at once can overwhelm users and create a poor...

Learn More 2 0Dec 1 '24

Mastering Loop Conditions and Subset Iteration in C#

When working with collections in C#, understanding loop termination conditions and selective...

Learn More 1 0Dec 1 '24

For vs. Foreach in C#

Meta Description "Learn the key differences between for and foreach loops in C#, their...

Learn More 2 0Dec 1 '24