C# Corner
Tech
News
Videos
Forums
Trainings
Books
Live
More
Interviews
Events
Jobs
Learn
Career
Members
Blogs
Challenges
Certifications
Bounties
Contribute
Article
Blog
Video
Ebook
Interview Question
Collapse
Feed
Dashboard
Wallet
Learn
Achievements
Network
Refer
Rewards
SharpGPT
Premium
Contribute
Article
Blog
Video
Ebook
Interview Question
Register
Login
Tags
No tag found
Content Filter
Articles
Videos
Blogs
Resources
News
Forums
Interviews
Complexity Level
Beginner
Intermediate
Advanced
Refine by Author
[Clear]
Sandhiya Priya(32)
Ananya Desai(8)
Aarav Patel(7)
Nidhi Sharma(7)
Tanuj (6)
Ketan Sathavara(4)
Niharika Gupta(3)
subramanya m(3)
Saurav Kumar(3)
Vinoth Xavier(3)
Ajay Narkhedkar(2)
Prathamesh Dhopare(2)
Shubham Chinchalkar(2)
Ck Nitin(2)
Raj Bhatt(1)
Riya Patel(1)
Priya Prajapati(1)
Subash S(1)
Jayraj Chhaya(1)
Abiola David(1)
Raghunath Bhukan(1)
Varun Setia(1)
John Godel(1)
Henil Patel(1)
Muhammad Ahmad Saeed(1)
Mariem Moalla(1)
Nishant Raj(1)
Abhishek Yadav(1)
Rinki (1)
Akshay Amin(1)
Resources
No resource found
How to Resolve SQL Server Error 40 ("Could Not Open a Connection to SQL Server")
Aug 04, 2026.
Resolve SQL Server Error 40 in ASP.NET Core. Troubleshoot connection issues with Entity Framework Core, connection strings, and configuration.
Garbage Collection in C#: How .NET Automatically Manages Memory
Jul 23, 2026.
Learn how .NET's Garbage Collection automatically manages C# memory, preventing leaks and improving app reliability by reclaiming unused objects.
The Secret Behind .NET Performance: Understanding Garbage Collection Generations (Gen 0, Gen 1 & Gen 2) in C#
Jul 23, 2026.
Unlock .NET performance secrets! Understand Garbage Collection generations (Gen 0, Gen 1, Gen 2) and how they optimize memory management in C#.
OpenTelemetry Observability in ASP.NET Core: End-to-End Guide
Jul 23, 2026.
Master OpenTelemetry in ASP.NET Core for robust observability. Learn to integrate logs, metrics, and distributed traces for better performance and troubleshooting.
Maximum Index Difference Using Alphabet Jumps
Jul 21, 2026.
Find the maximum index difference by jumping between alphabets in a string, starting from 'a'. Optimized O(N) solution.
.NET 11 Preview 6: Hidden Performance Improvements You Should Test
Jul 21, 2026.
.NET 11 Preview 6 offers hidden performance boosts in runtime, JIT, GC, ASP.NET Core, and collections. Test for faster apps!
Shortest Unique Prefix for Every Word (Trie)
Jul 20, 2026.
Discover the shortest unique prefix for every word in an array using a Trie. Efficiently identify distinct word beginnings with this optimized algorithm.
Grafana Alloy Tutorial: Modern Telemetry Collection for Distributed Systems
Jul 16, 2026.
Learn how Grafana Alloy collects metrics, logs, and traces to build scalable observability pipelines for cloud-native and distributed systems.
OpenTelemetry Explained: Unified Observability for Modern Distributed Systems
Jul 15, 2026.
Learn how OpenTelemetry provides unified observability through traces, metrics, and logs for monitoring modern cloud-native and distributed applications.
Grafana Alloy Explained: The Future of Telemetry Collection
Jul 09, 2026.
Grafana Alloy unifies telemetry collection for metrics, logs, and traces, simplifying observability in modern, cloud-native systems.
Count Substrings with More 1's than 0's
Jul 04, 2026.
Efficiently count binary substrings with more 1s than 0s using prefix sums and Fenwick trees in O(N log N) time.
Ways to Increase LCS by One (Dynamic Programming)
Jul 03, 2026.
Master dynamic programming to efficiently count LCS increases. Learn prefix/suffix DP for O(nm) solutions, avoiding brute-force recomputation.
Count Matching Subsequences Using Dynamic Programming in Java
Jun 26, 2026.
Learn how to solve the Count Matching Subsequences problem using Dynamic Programming in Java with an O(n × m) approach, explanation, examples, and code.
Equal Point in Brackets
Jun 11, 2026.
Find the optimal split point in bracket strings where opening brackets left equal closing brackets right. Efficient O(n) solution.
Lexicographically Smallest String after Removing k Characters
Jun 08, 2026.
A greedy stack-based problem where we adjust k based on string length and remove characters to form the lexicographically smallest string possible. The solution uses monotonic stack technique for optimal character removal.
Lexicographically Smallest String After Removing K Characters Using a Monotonic Stack
Jun 05, 2026.
Learn how to find the lexicographically smallest string after removing K characters using a monotonic stack in Java. Includes explanation, dry run, and optimized O(n) solution.
Palindrome Pairs in an Array of Strings – Java Solution with HashMap
Jun 05, 2026.
Learn how to solve the Palindrome Pairs problem using HashMap and palindrome prefix-suffix checking. Includes intuition, dry run, complexity analysis, and optimized Java code.
Remove K Digits Problem – Greedy Stack Approach to Find the Smallest Number
Jun 05, 2026.
Learn how to solve the “Remove K Digits” problem using a greedy monotonic stack approach. This article explains how to efficiently remove k digits from a number string to form the smallest possible result while maintaining digit order, along with a Java implementation and clear intuition.
API Versioning in ASP.NET Core: Best Practices and Common Mistakes
Jun 05, 2026.
Learn API Versioning in ASP.NET Core with practical examples. Explore versioning strategies, best practices, common mistakes, and implementation techniques.
IAsyncEnumerable vs IEnumerable in C#: Performance and Use Cases
Jun 03, 2026.
Learn the differences between IAsyncEnumerable and IEnumerable in C#. Explore performance, memory usage, async streaming, real-world examples, and best practices.
Count of repeating character patterns in a string using MySQL
May 13, 2026.
Discover how to count repeating character patterns in strings using MySQL. This tutorial provides a step-by-step guide with code examples for text analysis and pattern recognition.
Difference Between template literals and string concatenation in Javascript
May 12, 2026.
Explore the key differences between JavaScript template literals and string concatenation. Learn which method is best for readability, dynamic content, and efficiency. Discover practical examples!
Difference Between template literals and string concatenation in Javascript
May 12, 2026.
Explore the key differences between JavaScript template literals and string concatenation. Learn which method offers better readability, dynamic content handling, and efficiency for various string operations.
Collections in .Net (C# Guide for Beginners)
May 01, 2026.
Master .NET collections in C#! This beginner's guide covers generic, non-generic, and concurrent collections. Learn to efficiently store and manage data for APIs, databases, caching, and real-time apps.
Minimum Window Subsequence
Apr 30, 2026.
A detailed guide to solving the Minimum Window Subsequence problem using a greedy two-pointer approach. The article explains how to find the smallest substring in a string that contains another string as a subsequence, using forward scanning to match characters and backward scanning to minimize the window. It includes step-by-step intuition, dry run, and an optimized O(n × m) solution suitable for coding interviews.
Smallest Window Containing ‘0’, ‘1’, and ‘2’
Apr 27, 2026.
Master the Sliding Window technique! This guide solves the 'Smallest Window Containing 0, 1, and 2' problem with clear explanations, examples, and Java code. Find the shortest substring efficiently!
Substrings With Exactly K Distinct Characters
Apr 27, 2026.
Learn how to efficiently solve the Substrings With Exactly K Distinct Characters problem using the sliding window technique. This guide explains the key insight of converting the problem into “at most K” subproblems, includes step-by-step intuition, dry run examples, and an optimized Java solution with O(n) time complexity and constant space.
How to implement API versioning using URL, header, and query string in ASP.NET Core?
Apr 22, 2026.
Master API versioning in ASP.NET Core! Learn to implement URL, query string, and header versioning for backward compatibility and seamless API evolution. Keep your apps stable!
How to implement API testing using Postman collections step by step
Apr 22, 2026.
Remove Spaces from a String (Java)
Apr 21, 2026.
Learn how to remove all spaces from a given string in Java while preserving the order of characters. This article explains a simple O(n) solution using StringBuilder, along with step-by-step logic and examples.
What are the new features in C# 14 for developer productivity?
Apr 09, 2026.
Explore C# 14's productivity boosters! Discover streamlined pattern matching, primary constructors, collection expressions, and more for efficient .NET development.
How to Use Collection Expressions in C# 13 and C# 14
Apr 09, 2026.
Simplify collection initialization in C# 13 & 14 with collection expressions! Boost readability, reduce boilerplate, and enhance productivity. Learn how!
Difference Between String and StringBuilder in C# and When to Use Each?
Apr 07, 2026.
Unlock C# text manipulation mastery! Learn the String vs. StringBuilder difference for optimal performance. Discover when to use each for efficient code and scalability.
How to Optimize Memory Usage with C# Garbage Collection
Apr 03, 2026.
Unlock C# garbage collection! Learn how it works, optimize memory usage, and boost performance in ASP.NET Core apps. Essential for scalable .NET development.
How to Use Generics in C# to Write Reusable and Type-Safe Code
Apr 03, 2026.
Master C# generics! Learn how to write reusable, type-safe code, avoid duplication, and boost performance. Explore generic classes, methods, collections, and constraints.
How the .NET Garbage Collector Actually Thinks
Mar 27, 2026.
Demystify .NET garbage collection! Learn how it manages memory, optimizes performance, and impacts your C# code. Understand generations, LOH, and best practices.
How Does Garbage Collection Work in .NET Core?
Mar 26, 2026.
Master .NET Core's garbage collection! Learn how it manages memory, prevents leaks, and optimizes performance. Discover best practices for efficient apps.
How to Use New Modern Microsoft Lists Forms Experience in SharePoint
Mar 20, 2026.
Streamline data collection in SharePoint using the new Microsoft Lists forms! Customize fields, apply themes, and easily share forms for efficient data management.
What are Collection Groups in Amazon OpenSearch Serverless?
Mar 20, 2026.
Simplify OpenSearch Serverless management with Collection Groups! Organize collections, enforce consistent security, and scale efficiently. Learn how to optimize your cloud architecture.
How to Use Append to String and Append to Array Variable in the Flow
Mar 09, 2026.
Master Power Automate's 'Append to String' and 'Append to Array' actions! Learn to dynamically build text and collections for flexible, powerful flows. Includes practical examples.
Memory Profiling in C#: Detecting and Preventing Memory Issues in .NET Application
Mar 03, 2026.
Master C# memory profiling! Detect and prevent memory leaks, optimize .NET applications, and boost performance. Essential for scalable, robust systems.
Garbage Collection Internals in .NET: How Memory Management Really Works
Mar 03, 2026.
Unlock .NET's garbage collection secrets! Explore generational memory management, LOH behavior, GC modes, and optimization techniques for high-performance C# apps.
Understanding Strings in C#: A Complete Guide for Developers
Mar 03, 2026.
Unlock the power of C# strings! This guide dives into immutability, memory management, common operations, and performance optimization for efficient coding. Master string handling!
How to Profile and Fix Memory Leaks in Backend Applications?
Mar 03, 2026.
Fix backend memory leaks! Profile, analyze heap snapshots, and implement solutions like bounded caching and proper resource cleanup. Ensure stable performance.
C# Performance Optimization Techniques Every Developer Should Know
Mar 02, 2026.
Boost C# app performance! Master value/reference types, minimize allocations, optimize LINQ, and conquer concurrency. Profile, cache, and choose collections wisely.
How to Fix Delegation Warnings and Handle 10,000+ Records in Power Apps with SharePoint
Feb 26, 2026.
Delegation issues can break your Power Apps solution when working with large SharePoint lists. This article explains why delegation warnings occur and provides a practical, step-by-step solution to build scalable, high-performance apps without data loss.
How Variables Work in Power Apps - Set vs UpdateContext vs Collections
Feb 27, 2026.
Master Power Apps variables! Learn when to use Set(), UpdateContext(), and ClearCollect() for efficient data management, global states, and screen-specific logic. Build cleaner, more professional apps. Variables are essential for managing data and state in Power Apps, but understanding the difference between Set, UpdateContext, and Collections can be confusing for beginners. This article clearly explains when and why to use each type of variable. Learn the scope, behavior, and real-world usage scenarios with simple examples. A beginner-friendly guide to help you write cleaner and more efficient Power Fx formulas.
How to Use the Index Function in Power Apps
Feb 27, 2026.
Master the Power Apps Index function! Learn how to retrieve specific items from collections and tables by position, enhancing app interactivity and efficiency. Dynamic data selection made easy!
⚡ 15 C# Performance Mistakes That Kill Your Application (And How to Fix Them).
Feb 25, 2026.
Boost C# app performance! Discover 15 common mistakes that kill scalability & learn how to fix them. Essential for APIs, microservices, & high-throughput systems.
How to Reverse a String in C#
Feb 26, 2026.
Learn two efficient methods to reverse strings in C# using Array.Reverse() and loops. Understand the immutability of strings, performance considerations, and real-world applications. Master this fundamental C# skill!
How to Detect and Fix Memory Leaks in Java Applications
Feb 20, 2026.
Master Java memory leak detection & prevention! Learn to identify causes, use profiling tools, and apply fixes for stable, scalable production apps.
How to Reduce GC Pressure in .NET Applications Effectively
Feb 20, 2026.
Reduce .NET Garbage Collection (GC) pressure for optimal performance! Learn practical strategies to minimize allocations, optimize code, and boost application speed.
ZLINQ vs LINQ
Feb 20, 2026.
Unlock peak .NET performance! Compare LINQ & ZLINQ for querying data. Discover when ZLINQ's zero-allocation approach crushes LINQ in speed and memory efficiency.
How to use variables in PowerApps
Feb 13, 2026.
Master Power Apps variables! Learn to use Global, Context, and Collections to store data, control visibility, and manage user input. Includes practical examples.
Building Interactive Forms with Adaptive Cards in Copilot Studio
Feb 10, 2026.
Build interactive forms in Copilot Studio using Adaptive Cards! Collect structured data with dropdowns, date pickers, and more. Automate workflows easily.
Handling Large Collections in MongoDB
Feb 09, 2026.
Master MongoDB large collections! Learn data modeling, indexing, sharding, and archiving strategies for optimal performance and scalability in production.
Converting String Dates to Real Date Types in PySpark
Feb 01, 2026.
In this article, I covered how to transform string dates to proper date types in PySpark using to_date() and to_timestamp()
MongoDB Architecture Explained: Databases, Collections, and Documents
Jan 29, 2026.
Unlock MongoDB's architecture! Explore databases, collections, & documents for efficient data storage. Master BSON, data flow, & real-world examples. #MongoDB
How to Debug Memory Leaks in Long-Running Backend Services
Jan 28, 2026.
Debug memory leaks in backend services! Learn to identify, diagnose, and fix leaks caused by caches, references, resources, & libraries. Keep your services stable.
Understanding the Real-World Scenarios You Must Concentrate On When Using Replace()
Jan 19, 2026.
Stop misusing Replace() in ASP.NET! Learn when and where to use it correctly to avoid email formatting issues and data inconsistencies. Focus on human readability!
Understanding the Difference Between Replace() and Trim()
Jan 19, 2026.
Understand the crucial differences between .NET's Replace() and Trim() methods for effective string manipulation. Avoid data integrity issues and formatting errors! Learn when to use each for optimal text cleaning in your applications. Master input sanitization!
Valid Anagram Problem in DSA (String + Hashing)
Jan 15, 2026.
Master the Valid Anagram problem! Learn to efficiently check if two strings are anagrams using hashing. Ace your DSA interviews with this optimized approach. Includes code examples!
How to Improve Performance in C# Applications
Jan 16, 2026.
Boost C# app performance! Learn proven techniques: reduce allocations, use async, optimize data structures, and more. Build faster, scalable, reliable apps.
How Does Garbage Collection Work in C#?
Jan 15, 2026.
Unlock C#'s automatic memory management! Learn how garbage collection reclaims unused memory, preventing leaks and boosting performance. A must-read for C# developers!
Implementing Search Functionality in Power Apps Using the Search() Function
Jan 13, 2026.
Learn to implement dynamic search in Power Apps using the Search() function! Filter collections with a text input and gallery for a user-friendly experience. Perfect for small apps!
Group Anagrams Problem in DSA (Simple Explanation with Code)
Jan 13, 2026.
Learn the Group Anagrams problem in DSA with a simple and clear explanation. Step-by-step logic, examples, and clean code to help beginners and interview preparation.
Longest Palindromic Substring – DSA Interview Question
Jan 13, 2026.
Master the Longest Palindromic Substring problem! This guide offers a clear explanation, optimized code (C++, Java, Python), and interview tips for DSA success.
Smarter Memory Management for Long-Running Apps: ASP.NET Core in .NET 10 Automatically Releases Unused Pooled Memory
Jan 12, 2026.
.NET 10 enhances ASP.NET Core with automatic pooled memory trimming, reducing memory usage in long-running apps like APIs and services. Learn how it works and benefits you!
Sliding Window Technique in DSA (Longest Substring Without Repeating Characters)
Jan 08, 2026.
Learn the Sliding Window Technique in DSA with a simple explanation of the Longest Substring Without Repeating Characters problem. Step-by-step logic with clean code examples.
Structured Strings in Python 3.14: A Deep Dive into Template Literals
Dec 28, 2025.
Explore Python 3.14's template string literals (t-strings) for safer, flexible string processing. Learn how they enhance security and readability over f-strings.
Torsion Pontryagin Duality for the M-Theory C-Field
Dec 18, 2025.
Topological sectors of the M-theory 3-form gauge potential (C_3) and its 4-form field strength (G_4) are known to carry subtle quantum phases and anomaly constraints, already visible in the shifted flux quantization and in the global definition of the effective action. (arXiv) A particularly rich and comparatively under-systematized component arises from torsion in the integral (co)homology of the compactification manifold: torsion classes define discrete fluxes, discrete gauge symmetries, and higher-form symmetry data in the effective theory. This article proposes a concrete conjectural organizing principle for these torsion sectors, termed Torsion Pontryagin Duality (TPD). The conjecture states that the torsion sectors admit a canonical finite Heisenberg-group structure, and that the “(C)-holonomy basis” and “(G)-flux basis” are related by a discrete Fourier transform whose kernel is the torsion linking pairing. This perspective unifies several phenomena: noncommutativity of torsion electric and magnetic flux measurements, universal (BF)-type symmetry topological field theories in the effective description, and a brane-braiding interpretation in terms of wrapped M2 and M5 branes. (arXiv)
How to Extract Numbers from Any String in Power Automate
Dec 15, 2025.
Effortlessly extract numbers from any text string in Power Automate using these simple steps. Learn two efficient methods using Select and Filter array actions.
Understanding JavaScript Memory Management: Garbage Collection, Memory Leaks, and Profiling
Dec 07, 2025.
Understanding JavaScript Memory Management: Garbage Collection, Memory Leaks, and Profiling
Difference Between IEnumerable, ICollection, and IList in C#?
Dec 03, 2025.
Learn the clear and simple differences between IEnumerable, ICollection, and IList in C#. Understand what they are, how they work, when to use them, and see real C# code examples to help you choose the right interface in your .NET applications.
Mastering Collections in .NET Core
Dec 02, 2025.
Master .NET Core collections! Explore Lists, Dictionaries, Queues, Stacks, HashSets, and Concurrent Collections with real-time examples and performance tips.
Variables and Data Types in C#
Nov 25, 2025.
Master C# variables and data types! Learn to store data effectively using int, string, double, bool, and more. Includes real-world examples and a code snippet.
Understanding Any() vs Count()
Nov 16, 2025.
Unlock C# performance! Discover when to use Any() vs. Count() for checking collection emptiness. Learn the O(1) vs. O(n) complexities and crucial exceptions for Lists & arrays.
📌SQL Server String Functions — SUBSTRING, CHARINDEX, LEN, and REPLICATE (With Real Examples)
Nov 14, 2025.
Master SQL Server string manipulation! Learn SUBSTRING, CHARINDEX, LEN, and REPLICATE with a practical email masking example. Enhance data security and readability.
String Methods in JavaScript – A Complete Article
Nov 15, 2025.
Master JavaScript strings! This guide covers essential methods like slice, replace, trim, and more, with examples for efficient text manipulation. Perfect for learning!
How Our Everyday Data is Collected, Stored, and Used
Nov 04, 2025.
Uncover where your daily data goes! Learn how it's collected, stored, and used by companies. Understand your digital footprint and privacy choices.
Working with String, StringBuilder, and StringBuffer in C#
Oct 29, 2025.
Master C# string manipulation! Compare string, StringBuilder, & StringBuffer (simulated) in ASP.NET WebForms. Boost performance & ensure thread safety. ??
List, Dictionary, Queue, and Stack
Oct 29, 2025.
Learn C# collections (List, Dictionary, Queue, Stack) with ASP.NET Web Forms! This tutorial provides practical examples and real-time use cases for each collection type.
Learn Garbage Collection in C#
Oct 29, 2025.
Learn how Garbage Collection (GC) works in C# ASP.NET WebForms with a practical example. Prevent memory leaks and optimize your web application's performance.
Reverse a string without using built-in functions.
Oct 29, 2025.
Learn how to reverse a string in C# without using built-in functions! This tutorial provides a step-by-step guide with code examples and a real-time example flow. Perfect for beginners!
Count vowels and consonants in a string
Oct 29, 2025.
Learn how to count vowels and consonants in a string using C# and ASP.NET! This real-time example provides a step-by-step guide with code and explanations.
Find Duplicate characters in a string
Oct 29, 2025.
Learn how to find duplicate characters in a string using C# and ASP.NET with this real-time example. Includes code, explanation, and input/output samples.
Remove spaces and special characters from a string using C#
Oct 29, 2025.
Learn how to remove spaces and special characters from a string in C# using Regex. This tutorial provides a real-time example with WebForms and clear explanations. Clean your strings effectively!
Count words in a sentence
Oct 29, 2025.
Learn how to count words in a sentence using ASP.NET WebForms with this real-time example. Includes code snippets and a step-by-step explanation for easy implementation.
Find the frequency of each character in a string
Oct 29, 2025.
Learn how to find the frequency of each character in a string using C# and ASP.NET! This tutorial provides a real-time example with code and explanation.
Capitalize first letter of each word in a string
Oct 29, 2025.
Learn how to capitalize the first letter of each word in a string using ASP.NET Web Forms with C#. Includes a real-time example and alternative manual method.
Count frequency of words using Dictionary
Oct 29, 2025.
Learn how to count word frequency in C# using a Dictionary! This real-time webforms example demonstrates a practical implementation with clear steps and code.
Print Pyramid Star Pattern using C# in ASP.NET WebForms
Oct 29, 2025.
Learn to create a Pyramid Star Pattern in C# ASP.NET WebForms using nested loops and StringBuilder. A great exercise for mastering logic and HTML rendering!
Understanding Garbage Collection, Cyclic References, and Memory Management in C#
Oct 27, 2025.
Master C# memory management! Explore garbage collection, cyclic references, weak references, and IDisposable for efficient, leak-free .NET applications.
Understanding Garbage Collection, Cyclic References, and Memory Management in C#
Oct 27, 2025.
Master C# memory management! Explore garbage collection, cyclic references, weak references, and the IDisposable pattern for efficient, leak-free .NET apps.
Chapter 6: Arrays and the C++ String Class
Oct 23, 2025.
Explore fundamental data structures in C++: arrays and the std::string class. Learn how to declare, initialize, and manipulate arrays for storing collections of data. Discover the power of std::string for efficient text handling, including concatenation, length determination, and character access. Also, delve into multidimensional arrays for representing grids and matrices.
Part III - Best Practices for Handling Connection Strings in C#
Oct 23, 2025.
Securely managing connection strings in C# .NET is crucial for database-driven applications. This guide covers best practices like avoiding hard-coding, leveraging Windows Authentication, and utilizing Azure Key Vault for sensitive data. Learn to protect your application from vulnerabilities by encrypting connection strings, validating their structure, and applying the principle of least privilege. Implement these strategies to enhance security and streamline deployment in your C# projects.
Part IV - .NET 5+ SQL Connections: Why Encrypt=True Is Now the Default
Oct 23, 2025.
Learn about the .NET 5+ default Encrypt=True setting for SQL connections and its impact on your applications. This article explains why Microsoft made this security enhancement, how to handle self-signed certificates in development, and best practices for production environments. Ensure secure data transfer and avoid connection errors by understanding and implementing the correct connection string configurations. Discover how to configure your connection strings for optimal security and compatibility.
In-Depth Look at Advanced Authentication and Connection Strings for SQL Server and Databases (Part II)
Oct 22, 2025.
Master SQL Server connections in C# .NET! This guide dives deep into connection strings, covering essential properties like Data Source, Initial Catalog, User ID, Password, Integrated Security, and Encrypt. Learn best practices for secure authentication, including Windows Authentication, Azure AD Managed Identity, and secure credential storage. Optimize your database connections for performance and security with practical examples and recommendations.
🧠 GC.Collect() vs GC.SuppressFinalize() in .NET — Deep Dive (with Real-World Examples)
Oct 15, 2025.
Unlock .NET memory management secrets! This deep dive explores GC.Collect() and GC.SuppressFinalize(), revealing when and how to use them effectively. Learn the nuances of garbage collection in .NET 8/9+, understand the Dispose pattern, and avoid common pitfalls. Real-world examples and best practices included for optimized .NET performance. Master deterministic cleanup and boost your app's efficiency!
🧠 What happen Behind .NET GC (Generational Collection)?
Oct 15, 2025.
Dive deep into the .NET Garbage Collector (GC) and its generational approach! Understand Gen 0, Gen 1, and Gen 2, plus the Large Object Heap (LOH). Learn how object promotion works, when full GCs are triggered, and the impact of compaction. Discover GC modes in .NET 8+ and practical performance tips for efficient memory management. Master the .NET GC!