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]
Mahesh Chand(9)
Saurav Kumar(5)
Naresh Kumar Katta(4)
Nidhi Sharma(3)
Vijai Anand Ramalingam(3)
Sibeesh Venu(3)
Niharika Gupta(2)
Riya Patel(2)
Ananya Desai(2)
Dhanapal Chandran(2)
Tural Suleymani(2)
Ganesan C(2)
Aarav Patel(1)
Mikhail Panin(1)
Akim Mamedov(1)
Vishal Gami(1)
Vijay Kumari(1)
John Godel(1)
Baibhav Kumar(1)
Mariem Moalla(1)
Jake Creasy(1)
Rinki (1)
Eliana Blake(1)
Wilson Mok(1)
Sangeetha S(1)
Rajeev Paliwal(1)
Jalpa Dhola(1)
Punar Dutt Rajput(1)
Praveen Kumar(1)
Darshan Adakane(1)
Abhishek Tiwari(1)
Gajendra Jangid(1)
Ajay Kumar(1)
Ramawatar Bhakar(1)
Ravikant Sahu(1)
Ishika Tiwari(1)
Rijwan Ansari(1)
Raj Kumar(1)
Abhishek Chadha(1)
Madhanmohan Devarajan(1)
Keerthi Raja(1)
Guest User(1)
Jay Krishna Reddy (1)
Sarathlal Saseendran(1)
Rushi Mehta(1)
Deepak Kumar(1)
Atul Sharma(1)
Guest User(1)
Puja Kose(1)
John Kocer(1)
Gaurav Gahlot(1)
Sahil Sharma(1)
Debendra Dash(1)
Habibur Rony(1)
Madhan Raghu(1)
Kishor Bikram Oli(1)
Abhishek Yadav(1)
Suman Verma(1)
Anand Narayanaswamy(1)
Thavaselvan Palanivel(1)
Ankur Mishra(1)
Ankur Shah(1)
Harpreet Singh(1)
Michal Habalcik(1)
Rahul Kumar Saxena(1)
Pramod Thakur(1)
Divya Sharma(1)
Abhishek Goswami(1)
Sandeep Sharma(1)
Ashwani Tyagi(1)
Mahak Gupta(1)
Kush Muchaal(1)
Veena Sarda(1)
Resources
No resource found
The Rise of AI Coding Agents: Will Developers Write Less Code?
May 13, 2026.
Explore the rise of AI coding agents and their impact on software development. Will developers write less code? Discover the future of AI-assisted engineering.
How to Write Your First Program in Go and Understand Its Basic Syntax
Apr 07, 2026.
Learn Go programming! This beginner-friendly guide covers installation, basic syntax, and writing your first program. Build a strong foundation in Go development.
How to Write Effective Prompts for AI Tools to Get Better Results?
Apr 06, 2026.
Master AI prompt writing! Learn to craft clear, specific prompts for better AI results. Boost productivity & accuracy with our beginner-friendly guide.
What Is Unit Testing and How to Write Your First Unit Test in C#?
Apr 06, 2026.
Master C# unit testing! This beginner's guide covers the basics, AAA pattern, frameworks (MSTest, NUnit, xUnit), best practices, and common mistakes. Build reliable .NET apps!
How to Write Clean Code in C# Using Naming Conventions and Best Practices?
Apr 06, 2026.
Master C# clean code: naming conventions, best practices, and SOLID principles. Write readable, maintainable, and scalable .NET applications. Improve team collaboration!
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 to Write Better Prompts for AI Coding Assistants to Get Accurate Code?
Apr 02, 2026.
Master AI coding assistants! Learn to write effective prompts for accurate code generation, debugging, and faster development. Improve code quality now!
How to Write Secure Smart Contracts in Solidity to Prevent Reentrancy Attacks?
Mar 27, 2026.
Protect your Solidity smart contracts from reentrancy attacks! Learn key techniques like Checks-Effects-Interactions, ReentrancyGuard, and secure coding practices.
Forget JSONs! Write Graph-based Configs!
Feb 20, 2026.
Ditch complex JSON configs! Embrace graph-based configurations for clarity, collaboration, and fewer runtime errors. Simplify workflows and boost maintainability.
How to Write Clean Code That Passes Senior Code Reviews
Feb 20, 2026.
Master clean code for senior-level reviews. Learn SOLID principles, naming conventions, testing, and error handling for scalable, maintainable software.
MongoDB Read and Write Operations Internals
Feb 03, 2026.
Explore MongoDB's internal read/write operations for optimized performance. Learn about write concerns, storage engines, indexing, and data durability for scalable apps.
Why WAL and Write Amplification Become the Hidden Scaling Limit in PostgreSQL
Jan 28, 2026.
Uncover the hidden PostgreSQL scaling bottleneck: WAL and write amplification. Learn how they impact performance, replication, and storage, and how to proactively manage them for predictable scaling.
JavaScript Internals: Understanding Runtime Optimization and How to Write Performant Code
Jan 21, 2026.
Unlock peak JavaScript performance! Learn runtime optimization techniques, JIT compilation, and coding best practices for faster, more efficient code execution.
How Do I Write a Cold Email Using ChatGPT?
Dec 31, 2025.
Master cold email with ChatGPT! Learn to craft human-sounding, relevant messages that get responses. Avoid generic automation and boost your sales strategy.
How to Write SQL Queries Every Beginner Should Know
Nov 24, 2025.
Master SQL querying! Learn SELECT, JOIN, GROUP BY, and more with real-world examples. Perfect for beginners to build practical database skills and boost efficiency.
How Generative Search Changes How We Write About Developer Releases (and How You Benefit)
Nov 20, 2025.
Learn how generative search transforms developer releases! Optimize your content for clarity, structure, and use cases to boost visibility and adoption.
Single Level of Abstraction Principle (SLAP): Write Code That Tells a Story in C#
Oct 26, 2025.
Master the Single Level of Abstraction Principle (SLAP) in C# for cleaner, more maintainable code. Learn to write code that reads like a story! Examples included.
Tell, Don't Ask: Write Code That Commands, Not Queries in C#
Oct 26, 2025.
Master the Tell, Don't Ask principle in C# for cleaner, more maintainable object-oriented code. Refactor from queries to commands for SOLID design!
Keep It Simple, Stupid (KISS): Write Less, Achieve More in C#
Oct 20, 2025.
Master the KISS (Keep It Simple, Stupid) principle in C# to write cleaner, more maintainable code. This guide provides practical examples of refactoring complex code into simpler solutions, leveraging built-in framework features, and combining KISS with DRY and SOLID principles. Learn to avoid over-engineering and create robust applications that are easier to understand, debug, and maintain. Improve your C# coding skills today!
Don't Repeat Yourself (DRY): Write Code Once, Use It Everywhere
Oct 20, 2025.
Master the Don't Repeat Yourself (DRY) principle in C# with practical examples. Learn to identify and eliminate code duplication, refactor for reusability, and integrate DRY with KISS and SOLID principles. Improve code maintainability, reduce errors, and build robust applications. Discover techniques for email validation, logging, configuration, and more. Write code once, use it everywhere!
Generative AI, Part 1 — Decoding & Control: How to Make Models Write What You Want
Oct 16, 2025.
Unlock the power of generative AI! Learn how to control text generation without finetuning. Master decoding strategies like top-p sampling and temperature scaling. Discover format-first prompting, constraints, and validation techniques for on-brand, high-quality output. Improve your AI content today!
How Do I Write SQL to Get Top N Records Per Group?
Oct 03, 2025.
This article provides step-by-step instructions and examples for SQL Server, MySQL, and PostgreSQL. Master techniques using ROW_NUMBER(), RANK(), DENSE_RANK(), CROSS APPLY, and LIMIT with subqueries. Avoid common mistakes and optimize your queries for performance. Perfect for reporting, analytics, and data visualization.
Exploratory Test Charter Examples and How to Write Them
Sep 30, 2025.
This article explains how to write clear, concise charters that focus your testing efforts, improve coverage, and enhance collaboration. Learn to define the mission, scope, risks, and expected outcomes for successful exploratory testing sessions. Includes real-world examples for e-commerce, mobile banking, and online learning platforms to help you find more bugs and release reliable software, no matter where you are testing.
How to Write Acceptance Criteria Using Given-When-Then
Sep 22, 2025.
Master the Given-When-Then format for writing effective acceptance criteria in Agile development. Learn how to structure scenarios with clear preconditions, actions, and expected outcomes. Improve communication, testing, and software quality by defining 'done' with precision. Discover practical examples for login features and shopping carts, plus tips for writing great acceptance criteria. Enhance customer satisfaction by meeting requirements effectively.
How to Write a Good Bug Report in JIRA
Sep 16, 2025.
Learn how to write effective bug reports in JIRA! This guide provides a step-by-step approach, covering essential elements like clear titles, detailed descriptions, reproduction steps, environment details, and helpful attachments. Improve communication with developers, speed up bug fixes, and enhance software quality. Make your reports SEO-friendly and easily understandable for efficient collaboration.
How to Write Effective Test Cases in Software Testing
Sep 11, 2025.
Master the art of writing effective test cases for software testing! This guide covers essential elements, step-by-step instructions, and best practices. Learn how to create clear, reusable test cases that ensure comprehensive test coverage, catch bugs early, and improve software quality. Discover templates and strategies for a robust testing process and reliable software.
Write Prompts for Legal, Financial, or Medical Domains
Aug 29, 2025.
Learn how to engineer prompts for specialized fields like law, finance, and healthcare. See domain-specific prompt templates, examples, and best practices for compliance and accuracy.
How to Write Better Prompts for Creative Tasks Like Storytelling & Content Generation
Aug 12, 2025.
Learn how to craft better AI prompts for storytelling, blogging, and creative writing in ChatGPT, Claude, and Gemini. Includes examples, techniques, and tips for rich, engaging output.
How Do You Write Prompts for Coding Tasks?
Aug 10, 2025.
Learn how to write effective AI prompts for coding tasks, from debugging and documentation to algorithm design. Includes best practices, examples, and developer tips.
How to Write Tests in C# in 5 Steps & TDD Explained
Aug 07, 2025.
Test-Driven Development (TDD) is a software approach where tests are written before code. It ensures clean, maintainable code by following a red-green-refactor cycle and improves software quality through automation.
How Prompt Engineering Changed the Way I Write Code
Aug 05, 2025.
I took a prompt engineering course to master writing effective prompts for AI tools like ChatGPT. It transformed my coding workflow by improving AI collaboration, structured reasoning, and producing reliable, high-quality outputs.
How AI is Changing the Way We Write Code (With Real Examples)
Jul 18, 2025.
Claude AI revolutionizes financial services by streamlining data analysis, automating modeling, and enhancing decision-making with real-time insights, secure integration, and advanced AI-powered reasoning tools.
Can AI Really Write Production-Grade Code? What Are the Limitations?
May 13, 2025.
Can AI write production-ready code? Yes—but with limitations around security, context, and quality that require expert human oversight.
How to Write Test Cases Using GitHub Copilot
Apr 15, 2025.
Learn how GitHub Copilot can simplify writing test cases with AI-powered suggestions. This guide covers generating templates, writing assertions, handling edge cases, and following best practices—helping you improve code quality, save time, and streamline testing.
How to Write Boilerplate Code Using GitHub Copilot
Mar 22, 2025.
This article covers setting up Copilot, generating code snippets, using Copilot Chat, and reviewing AI-generated code. Boost your coding productivity with AI-powered code suggestions for C# and other languages
Using Spark to Read and Write Data in Microsoft Fabric Data Warehouse
Mar 10, 2025.
Using the Spark Connector for Microsoft Fabric Data Warehouse to enable data engineers to directly read and write data in Fabric Data Wareousing using Spark notebooks. This eliminates the need for complex ETL processes or intermediary storage.
How to Write a Complete Website Code Using GitHub Copilot
Mar 07, 2025.
GitHub Copilot is an AI-powered code assistant that helps developers write frontend and backend code efficiently. It supports HTML, CSS, JavaScript, React, APIs, databases, and deployment automation.
File Read Write Operation in Python
Dec 19, 2024.
This article covers Python file handling, including reading, writing, appending, and binary operations. It explains functions like `read`, `readline`, and `readlines`, with code examples for practical applications.
What is a CTE, and How Do You Write a CTE in SQL Server?
Nov 29, 2024.
A Common Table Expression (CTE) in SQL Server is a temporary result set that can be referred to within a SELECT, INSERT, UPDATE, or DELETE query. CTEs simplify complex queries by breaking them into manageable parts.
How to Read and Write JSON Files in C#
Nov 17, 2024.
JSON is a common data format used in APIs, configuration files, and data exchange. Learn to handle JSON in C# using `System.Text.Json`. This article covers creating data models, writing to and reading from JSON files, with practical code examples for efficient JSON management.
How to Write Tests in Rust?
Jun 11, 2024.
Learn how to write effective tests in Rust to ensure your code is robust and error-free. This guide covers the basics of unit and integration tests, explores Rust's built-in testing framework, and provides practical examples.
Top 5 Tips to Write Effective Resume
May 28, 2024.
A well-crafted resume is essential for software engineers looking to land their dream job. It's the first impression that a hiring manager will have of you, and it's important to make it count. In this article, we'll cover the key elements of an effective resume for software engineers.
How to write Clean code in C#?
May 06, 2024.
Writing clean code is important so that it makes reading code easier, helps us fix and update it faster, and ensures it works smoothly and reliably. Here we will look for few tips to write clean code.
How to write Unit Tests for SwiftUI Views?
Apr 18, 2024.
Learn the key practices for writing unit tests for SwiftUI views in iOS and macOS apps. This guide covers project setup, effective testing methods, and leveraging SwiftUI's testing framework. With code examples and best practices, ensure your views' reliability and maintainability through thorough unit testing.
How to Write Unit Test Case with Mocking Service in Angular
Feb 24, 2024.
Learn how to write unit tests with mocked services in Angular using Jasmine and TestBed. This step-by-step guide demonstrates creating a mock service and testing component behavior in isolation for better reliability.
How to Write Your Own Discord Bot on .NET
Sep 13, 2023.
Learn how to create a Discord bot with .NET 6. Discover the steps to set up a bot, connect it to a server, and make it respond to commands like a pro.
How to Write Secure Code in C#?
Sep 13, 2023.
Secure coding in C# is essential for safeguarding sensitive information and preventing security breaches. Follow these best practices to enhance your application's security. Protecting Your C# Applications from Security Vulnerabilities.
How to Write an Article That Attracts More Viewers?
Sep 09, 2023.
This article will explain how you can write a better article that attracts more viewers.
How we can Write Optimized Code in JavaScript
Jun 13, 2023.
In this article, we will see How we can write optimized code in JavaScript
GitHub Copilot - Your AI Pair To Write Code Faster and Efficiently
May 22, 2023.
GitHub Copilot is a new AI tool that helps developers to write code faster and better. Indeed, it is an AI coding partner that provides suggestions to your code and can write code based on description in natural language. This AI copilot model is built on a heavy GitHub code base and OpenAI collaboration, which is further backed by Microsoft.
Create and Write CSV Files Using File Connector in MuleSoft
May 04, 2023.
In this article, you will learn how to create and write csv files using file connector in MuleSoft.
How To Write Resilient Code Using Polly In .NET 6
Mar 17, 2023.
In this article, you will learn how to write resilient code using polly in .Net 6.
Tips To Write Less JavaScript
Mar 13, 2023.
This article describes the tips to write less in javascript.
How To Read And Write Data From Dynamics 365 F & O Using API From Power Automate Flow?
Mar 10, 2023.
This article shows how to read and write data from Dynamics 365 F & O using API from Power Automate Flow
How To Write Custom Functions In Node-Red
Mar 10, 2023.
In this article, you will learn how to write custom functions in node-red and transform the incoming payload.
How To Read And Write To Microsoft SQL Using Python REST API
Nov 07, 2022.
In this article, you will learn how to read Microsoft SQL table, insert the results to another SQL table using Python REST API.
Elegant JavaScript - How Do They Write It?
Aug 08, 2022.
In this article, you will learn about Elegant JavaScript.
JavaScript In Practice - Let's Write Own Form Validator
Aug 08, 2022.
In this article, you will learn Javascript in practice.
How To Write Logs To Amazon CloudWatch Using NLog In .NET 6 Web API
Jan 11, 2022.
In this article, you will learn how to write logs to Amazon CloudWatch using NLog in .NET 6 Web API.
How To Write Logs To Amazon CloudWatch Using Serilog In .NET 6 Web API
Jan 08, 2022.
How to write logs to Amazon CloudWatch using Serilog in .NET 6 Web API
Insight.Database , .NET Micro ORM - Write Less Code In Data Access Layer Using Auto Interface Implementation
Nov 07, 2021.
In this article, you will learn about Insight.Database is a fast, lightweight, (and dare we say awesome) micro-orm for .NET. Auto Interface Implementation implements the interface for you automatically, and you can just call the method, with full type-safety and full performance of IL-generated code.
How To Write Unit Test For Exception And Console Log In C#
Oct 01, 2021.
In this article, we are going to explore about how to write unit test for exception and console log in C#.
How To Mock And Write Unit Test For API Calls In The React Application
Sep 07, 2021.
In this article, you are going to learn about how to mock API calls and write unit test for API call using fetch-mock in React application.
How to Write a Professional Resume?
Nov 16, 2020.
A good resume needs to be effective in portraying who you are to recruiters. Making sure it looks clean, consistent, and easy to read is the most important part of writing a professional resume.
How I Find Time To Write Blogs And For My Hobbies
Jul 14, 2020.
In this article you will see how i find time to write blogs and for my hobbies.
Tips To Write Clean C# Code
Jul 13, 2020.
This article helps you to write a clean and robust C# code using some tips and tricks.
Create A Free Cosmos DB SQL API Account With Multi Write Regions
Mar 17, 2020.
In this post, we will discuss about the features of newly introduced free tier Cosmos DB account.
What Is A Test Plan And How To Write Test Plans
Feb 11, 2020.
In this article, we will learn about test plans how to write a test plan in Software testing.
How to Write Testable Code in .NET
Dec 16, 2019.
Learn the art of writing testable code in .NET for robust software. Discover techniques like dependency injection and unit testing for improved code quality and easier maintenance. Master the principles of test-driven development (TDD) for resilient applications.
How to write to a text file in C#
Jun 04, 2019.
Learn how to write to a file in C# using the StreamWriter and File classes.
Why Everyone Should Write A Blog
Feb 23, 2019.
I have compiled a few benefits of blogging and put them into questions that you can ask yourself.
Design Tip - Write Honest Methods
May 24, 2018.
As developers we learn that giving meaningful names to methods produces clean, readable and maintainable code. However, that’s not all we should be concerned about when it comes to method signatures. There are two other aspects of a method signature that must be given consideration when writing code: a) parameters b) return value.
Read And Write Operation In HDFS
Dec 26, 2017.
HDFS is hadoop distributed file system; in simple terms a file is stored in a distributed machines. The Hadoop framework was designed considering reliability, throughput, network I/O, and disk I/O; but compromised with latency, which is best in RDBMS.
How To Write Simple Todo CRUD ASP.NET MVC Application
Sep 22, 2017.
This article includes a lab exercise for you to demonstrate what have you learned from this training material to create your own Employee CRUD operation using EmployeeRepository
Dependency Injection - Part Two - Five Reasons To Write Loosely Coupled Code
Aug 09, 2017.
A loosely coupled application has good isolation among its classes, modules and assemblies. Therefore, if we make a change to one part of the application, we only need to update the relevant modules. We do not need to make changes throughout the application.
How To Write Effective Code
Jun 03, 2017.
How To Write Effective Code. The key to writing effective code is Delete Unnecessary Code, use clean code, learn coding from masters, Meaningful Code Commenting, Debug code and Trace, Unit Testing, effective Code Style.
Important Tips To Write Clean Code In C#
Apr 30, 2017.
In this article, we will see how to write clean code in C# .
Software Testing - Best Practices And Principles To Write Unit Testing
Apr 14, 2017.
In this article, you will learn best practices and principles to write Unit testing.
SSIS: Write Custom Message Or Variable Value In SSIS Log File
May 29, 2016.
In this article you will learn how to write custom messages or variable value in SSIS Log File.
How To Write Good Articles
May 17, 2016.
In this post we are going to see a few points which you should consider when you write an article.
File Read/ Write Operation In WinJS Applications Using Windows Runtime Component
Apr 21, 2016.
In this article we are going to learn about File Read/Write operations in WinJS applications.
Why Developers Should Write And Market Themselves
Mar 01, 2016.
Developers are not known for writing, no matter if it is an article, blog, or documentation. But some of us actually do. Those of us who do write, actually can grow much faster than the ones who do not.
Grant Read Write Permission To User in SQL Server
Jan 13, 2016.
In this article, we’ll learn to give READ and WRITE permission to user after creating their login in SQL Server.
Simple Read And Write With Console Application For Beginners
Dec 05, 2015.
In this article, I am going to demonstrate you about console application and how to read and write in Console Application in C#.
C# FAQ 5 - How Do I Write My First C# Program
Nov 30, 2015.
In this FAQ, we will examine the steps required to develop a simple C# console based program.
Read And Write Spreadsheet Without Any Dependency
Nov 01, 2015.
In this article you will learn how to read and write spreadsheet without any dependency.
AngularJS: Write Less Code Get More Functionality
Sep 29, 2015.
In this article you will learn how to write less code and get more functionality in AngularJS.
Negative Testing and How to Write Negative Test Cases
Apr 11, 2015.
This article explains Negative Testing and how to write negative test cases.
Various Ways To Write LINQ Queries
Feb 13, 2015.
In this article we will learn various ways to write LINQ queries.
Things to Remember When You Write Or Reply To an Email
Jan 26, 2015.
In this article you will learn things to remember when you write or reply to an email.
Read and Write Windows Registry to Store Data Using C#
Dec 09, 2014.
Brief introduction to Windows Registry and its usage for storing and retrieving data using C#. Here we see structure of the Registry, storing data in the Registry, and retrieving data from the Registry.
Read, Write and Update an Excel File in WPF
Dec 01, 2014.
In this article I explain how to read, write and update data in an Excel file in WPF.
How to Write a Stored Procedure in SQL Server
Oct 10, 2014.
In this article you will learn how to write a Stored Procedure in SQL Server.
How to Write Custom Tracing Message in ASP.Net
Jun 17, 2014.
In this article I am explaining how to a write custom tracing message and what the difference is between Trace.Warn() and Trace.Write().
Best Tool to Write Blogs
Mar 02, 2014.
In this article I will talk about Windows Live Writer 2012. If you like to write blogs then it is very useful to you.
How to Write Data in PDF Format Using Servlet in Java
Oct 11, 2013.
In this article we discuss how to write data in PDF format using servlet in Java. NetBeans ide is used for creating this application.
How to Write Code For Any Screen in LightSwitch 2012
Sep 13, 2013.
This describes how to write code for a specific screen in a LightSwitch Application using Visual Studio 2012.
Read Write and Search an XML File Data in Windows Phone 7
Apr 06, 2013.
In this article we will discuss that how we can easily Read, Write and Search Data in a XML File.
Read and Write the Data To and From Document Directory of IPhone
Feb 26, 2013.
The iOS Device Document Directory is sometimes used to save & retrieve data. Data will be saved until the application terminates or until the document directory is cleaned programmatically.
How to Write Access 2013 Custom Web App on Office 365
Dec 19, 2012.
Sign into Office 365 enterprise and get a free version of Office as well as Sharepoint. I installed Access 2013 on my local machine and used SharePoint from the Office 365 enterprise version.