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(8)
Mahender Pal(8)
Vishal Babuks(3)
Gautam Singh(2)
Manav Pandya(2)
Ck Nitin(2)
Shikha Tiwari(2)
Gnanavel Sekar(2)
Akhil Mittal(2)
Sam Hobbs(2)
John Godel(2)
Rajesh Gami(2)
Manoj Singh Panwar(2)
Guest User(1)
Tanuj (1)
Avnii Thakur(1)
Vishal Gami(1)
Anand Pandey (1)
Niharika Gupta(1)
Madhvendra Singh(1)
Himanshu Patel(1)
Ziggy Rafiq(1)
Vijay Yadav(1)
Rasul Huseynov(1)
Chetan Sanghani(1)
Arjit Soni(1)
Tural Suleymani(1)
Adam Stirtan(1)
Mohamed Azarudeen Z(1)
Madhu Patel(1)
Mohit Mishra(1)
Gowtham Rajamanickam(1)
Ojash Shrestha(1)
Sagar Lad(1)
Dhanush M(1)
Saineshwar Bageri(1)
Amit Kumar(1)
Mobeen Rashid(1)
Madhanmohan Devarajan(1)
Praveen Sreeram(1)
Pawan Tiwari(1)
Ammar Shaukat(1)
Shakti Saxena(1)
Vinod Kumar(1)
Afzaal Ahmad Zeeshan(1)
Abhishek Kumar Ravi(1)
Martin Kropp(1)
Gaurav Gupta(1)
Meet Agarwal(1)
Tamer Khalil(1)
Nalaka withanage(1)
Scott Newman(1)
Hari Shankar(1)
Jeetendra Gund(1)
Arindam Dawn(1)
Varun Setia(1)
Archie Vankar(1)
Ashutosh Gupta(1)
Catcher Wong(1)
Jay Kang(1)
Munish A(1)
Khairul Islam(1)
Pritam Zope(1)
Prakash Tripathi(1)
Sibeesh Venu(1)
Pradeep Sahoo(1)
Kannan Sudhakaran(1)
Suresh M(1)
Rajeev Ranjan(1)
Jonas Gauffin(1)
Hemant Srivastava(1)
David Sandor(1)
Deepak Middha(1)
Sanjoli Gupta(1)
Resources
No resource found
Modern Storage Design: How Engineers Should Think Before Writing a Single Line of Code
Mar 30, 2026.
Master modern storage design! Learn a structured approach to database selection, data modeling, and scaling. Avoid costly migrations and build robust systems. A must-read for engineers!
Async/Await Best Practices in C#: Writing Scalable and Responsive Applications
Feb 12, 2026.
Master C# async/await for scalable apps! Learn best practices for I/O, error handling, and avoiding deadlocks. Build responsive and high-performance .NET applications.
Earn Crypto by Writing Articles in 2026: How Developers & Students Can Get Sharp Token Rewards on C# Corner
Jan 12, 2026.
Turn your tech writing and community help into crypto: learn how developers and students globally can earn Sharp Token on C# Corner via Learn-to-Earn contributions.
Why Is Writing Clean Code Important for Early-Career Developers?
Dec 01, 2025.
Clean code is crucial for early-career developers. It boosts problem-solving, learning, teamwork, and reduces bugs. Invest in clean coding for long-term success!
Beginner Guide to Writing SQL Queries for Full-Stack Projects
Nov 27, 2025.
Master SQL for full-stack development! This guide covers essential SQL queries, database operations, joins, and best practices for building robust applications.
The Art of Writing Clean Code in the Age of AI
Oct 30, 2025.
Master the art of clean code in the age of AI! Learn how to write human-readable code that prioritizes clarity, collaboration, and long-term maintainability. Discover the power of simplicity!
Best Practices for Writing Unit Tests in Python with pytest
Sep 23, 2025.
Master Python unit testing with pytest! This guide covers best practices for writing effective and maintainable tests. Learn how to organize tests, use fixtures, parameterization, and mocking. Discover how to test edge cases, automate testing in CI/CD pipelines, and ensure code reliability. Improve your Python code quality and prevent regressions with pytest.
Next.js as a Backend: Writing Scalable APIs Without Express
Aug 25, 2025.
Next.js APIs let developers build backend functionality directly within a Next.js app. With App Router and Route Handlers, you can create serverless, scalable APIs for modern full-stack applications.
Best Prompts for Email Writing and Communication with AI
Aug 17, 2025.
AI can draft professional, persuasive, and personalized emails — if you use the right prompts. Learn the best AI prompts for email writing, from business communication to customer support.
Don't Make public just for writing Unit Test
Aug 14, 2025.
Avoid making methods public just for unit testing. Use public methods for testing, refactor complex methods into helpers, or leverage internal/Friend with InternalsVisibleTo to maintain encapsulation and clean design.
How Vibe Coding Handles Data, APIs, and Logic Without Writing Code
Aug 06, 2025.
Learn how vibe coding tools interact with databases, APIs, and backend logic—without requiring programming skills. Discover how non-coders can build powerful AI workflows and automations using natural language.
What is Langflow? The Visual Framework to Build LLM Apps Without Writing Code
Aug 04, 2025.
Learn what Langflow is, how it works, and why it’s a game-changer for building AI-powered applications using large language models (LLMs) with a drag-and-drop interface.
Vibe Coding: Writing Software by Feeling, Not Typing
Jul 17, 2025.
Vibe coding is a new way of programming using natural language and AI tools like GPT-4 and Copilot, enabling developers to build, refine, and explore code ideas creatively and quickly through conversation.
The Complete Guide to Writing Dockerfiles for .NET Applications
Jul 03, 2025.
A Dockerfile is a text file containing instructions that Docker uses to build container images automatically. Think of it as a recipe that tells Docker exactly how to set up your application environment, install dependencies, and configure everything needed to run your .NET application in a container.
How GitHub Copilot Can Help with Writing Documentation and Comments
Mar 11, 2025.
GitHub Copilot is an AI-powered coding assistant that helps developers write better code by suggesting comments, generating documentation, and improving readability. It automates code explanations, maintains consistency, and even assists in writing technical blogs.
Best Practices for Writing Clean & Maintainable Code
Mar 10, 2025.
Learn clean code best practices and maintainable code techniques to improve readability, scalability, and performance in software development.
The Ultimate Guide to Writing NUnit Unit Tests in .NET 9
Jan 10, 2025.
Demonstrates how to write robust and reliable unit tests in .NET 9 using NUnit. This article teaches developers how to write effective unit tests in .NET 9 using NUnit, covering test setup, assertions, mocks, and best practices to enhance code reliability and bug reduction.
Reading and Writing Operation on File System in C Programming
Sep 20, 2024.
In C programming, file handling allows reading from and writing to files using functions like fopen(), fclose(), putc(), getc(), fwrite(), and fread(). Files are opened in various modes such as read, write, or append, with support for unformatted and formatted input/output operations.
File Structure: Writing and Reading Records Efficiently
Aug 29, 2024.
In C programming, fwrite() and fread() manage data storage and retrieval. fwrite() writes structures to a binary file, while fread() reads them back. This involves defining a structure, opening a file in binary mode, and using these functions to write and read data, ensuring file integrity and data consistency.
SQL: Writing Efficient Queries
Jul 10, 2024.
Learn how to optimize SQL queries for better performance with our guide on "SQL: Writing Efficient Queries." Discover techniques for improving query speed, such as indexing strategies, query optimization tips, and best practices.
Understanding LINQ While Writing Your Own
Jul 03, 2024.
LINQ (Language-Integrated Query) in .NET offers a unified, declarative way to query diverse data sources like objects, databases, XML, and more. It simplifies data manipulation with methods like Where, Select, and GroupBy, supporting both query and method syntax.
Effective User Story Writing in Agile Development
Jun 12, 2024.
User stories are essential in Agile development, helping teams understand requirements from the user's perspective. This article guides you in writing effective user stories by focusing on key elements such as user roles, actions, and benefits, along with tips on collaboration, simplicity, and prioritization.
HR Efficiency: Revolutionizing Policy Writing with Copilot AI
May 24, 2024.
Copilot, an AI tool by OpenAI, transforms policy writing for HR managers. It accelerates research, offers contextual guidance, ensures quality, allows customization, and saves time, revolutionizing HR policy creation.
.NET Internals: Writing .NET IL/MSIL Code
Mar 13, 2024.
Learn about .NET IL, the bridge language of the .NET runtime, compiling all high-level .NET languages into a single language. Write multi-language applications in .NET, gaining insights into program execution.
Stop Writing Code During Interviews And Do This Instead
Oct 30, 2023.
The reality is we expect that you can code. It’s implied, its taught in schools to children, it’s integrated into video games like Roblox. Asking a professional software developer to write trivial coding problems like the Fibonacci sequence during an interview is no longer good enough. We can do better and here’s how.
10 Common Mistakes to Avoid When Writing JavaScript Code😯😯
May 02, 2023.
10 Common Mistakes to Avoid When Writing JavaScript Code????
Tips For Writing Semantic Elements
Apr 28, 2023.
We have discussed how to use semantic tags very carefully with examples.
Working with Files in Python: Reading, Writing and Appending
Apr 18, 2023.
Working with Files in Python: Reading, Writing and Appending
Extension For Writing Mocha Tests In Visual Studio Code
Oct 04, 2022.
In this article, we will discuss how to add a useful visual studio code extension that will speed up writing test cases.
How To Create A PowerApps Portals (Website) Without Writing Code
May 30, 2022.
In this article, you will learn how to Create a PowerApps Portals (Website) without writing code.
Azure Machine Learning - Writing Python Script In Notebook
Mar 16, 2022.
In this article, we'll learn about Azure ML.
Best Practices Of Writing Python Code
Aug 04, 2021.
In this article, we are going to discuss about coding standards with python using PEP8 style guide.
Reading And Writing The Text From A Scanned PDF Using RPA
Apr 04, 2020.
In this article we can discuss about the Reading and writing of Scanned PDF using the RPA concept
Reading And Writing Documents With Single Document APIs In Elastic Search
Jun 06, 2018.
In this article, we are going to learn how to create, update, delete and querying elastic search documents.
Best Practices Of Writing C# Code
May 12, 2018.
Anyone can write code with a few months of programming experience. But some developers know the coding standard and naming convention but not everyone follows the best practices
Implement ASP.NET WEB API CRUD Logic Using Entity Framework Without Writing Code And Test It With Postman
Nov 03, 2017.
This article will demonstrate how to implement ASP.NET WEB API CRUD logic using Entity framework without writing code and how to test it with Postman
ASP.NET MVC CRUD Operation Using Entity Framework Without Writing Single Code
Sep 11, 2017.
Here, you will learn to do CRUD (Create,Read,Update and Delete) operations in MVC using Entity Framework without writing a single line of code.
Tips For Writing Clean And Concise Code In C#
Nov 01, 2016.
In this article, you will learn about tips for writing clean and concise code in C#.
Creating Excel Charts And Writing A Macro To Refresh Data Automatically
Oct 02, 2016.
In this article, we are going to see how to create a report and chart in Excel and also to write a Macro to refresh the chart automatically.
Microsoft PowerApps - Build Enterprise Mobile Apps Without Writing Code
May 11, 2016.
In this article you will learn how to build Enterprise Mobile Apps without writing code in Microsoft PowerApps.
CRUD Operations Without Writing Code In ASP.NET MVC
Mar 28, 2016.
In this article you will learn how to use MVC feature to perform all CRUD database operations without writing a single line of code in .NET Framework.
UWP Data Binding Using Microsoft Blend Without Writing Code
Feb 13, 2016.
In this article you will learn about UWP Data Binding using Microsoft Blend without writing code.
Reading And Writing XML Content Using C#
Nov 12, 2015.
In this article you will learn how to read and write XML content using C#.
Search Data From Database in GridView Without Writing Code
Apr 05, 2015.
In this article we will see how we can search for data in a database in GridView without writing code.
Reading and Writing Unicode Data in .NET
Mar 13, 2015.
This article is for beginners about writing and reading Unicode data from various data sources, including text files, user input and databases. It also demonstrates how to display that data in .NET applications, including ASP.NET web applications.
NodeJS: Writing in FileSystem
Feb 08, 2015.
In this article you will learn how to write in a FileSystem using NodeJS.
Complete CRUD Operations in MVC 4 Using Entity Framework 5 Without Writing Code
Dec 08, 2013.
This article describes how to perform basic CRUD operations in an MVC4 application using Entity Framework 5 without writing a single line of code.
Viewing and Writing XML Data using ADO.NET DataSets in VB.NET
Nov 10, 2012.
This article presents step-by-step how to bind, read and view XML data and generate graphical reports with the build-in Crystal Reports engine. The article puts special emphasize on XML standardization and interoperability issues experienced during the project, and presents workarounds for existing limitations.
Reading and Writing File in Windows Store App Using C#
Aug 31, 2012.
In this article we will learn how to read and write a file using a StorageFile object.
Tips For Writing Test Cases
May 09, 2012.
In this article you will see what a Test Case is and an explanation of the design of test cases. How do test case templates look? What are the guidelines or tips for writing a good Test Case?
Simple tips in writing a software requirements and specification Document(SRS) document
Dec 27, 2010.
In this article I want to give the readers very simple tips from my very short experience in writing a software requirements document. I am a developer and I know how it is important for me to have very clear requirements, and I was a junior project a manager, and I know the cost of a mistake in the requirements document. What I want is to share my experience with the readers.
XML Serializer Class for Reading and Writing XML
Apr 01, 2010.
This article introduces the XmlSerializer class for reading and writing XML.
Database Table Update in a DataGridView without Writing Code
Mar 31, 2010.
The Visual Studio IDE can generate a simple program that shows a Database Table in a DataGridView and that supports editing and saving the data, all with little or no code. This article shows how.
Reading and Writing XML using XLinq
Jun 21, 2007.
XLinq is a new API to work with XML using LINQ. XLinq is more flexible, simple, and faster programming model to read, write, manipulate, and traverse XML documents.
Viewing and Writing XML Data using ADO.NET DataSets
Nov 01, 2002.
Based on a real world project this article shows how to handle XML data in .NET using C# DataSets and DataViews.
Reading and Writing XML in C#
Oct 29, 2001.
In this tutorial, you will learn how to read and write XML documents in Microsoft .NET using C# language.
Reading and Writing to the Registry
Feb 28, 2001.
This is a class that both reads and writes to the registry that I made while converting some applications to use C#.
ADODataReader- Writing DataSets to XML
Feb 04, 2001.
This file uses ADODataReader and other objects to write DataSets to XML and filling data from the XML files.
Prompt Engineering After GSCP-15: Why “Writing Prompts” Is Being Replaced by Designing Governed Systems
Jan 10, 2026.
GSCP-15 redefines prompt engineering! It shifts focus from crafting prompts to designing governed AI systems with workflows, verification, and evidence-based outputs.
Writing a Dynamic Pivot Grid Stored Procedure for Reports in SQL Server
Nov 17, 2025.
Create a reusable SQL Server stored procedure for dynamic pivot reports. Handle dynamic columns, values, and groupings for flexible reporting solutions. Ideal for dashboards.
Writing High-Performance Stored Procedures in SQL Server
Oct 31, 2025.
Boost SQL Server backend performance! Learn to write efficient stored procedures with indexing, minimal joins, and proper error handling. Optimize your queries now!
Mastering the Art of Prompt Writing: A Software Developer’s Guide to ChatGPT
Sep 05, 2025.
Unlock the power of ChatGPT for software development! This guide teaches developers how to write effective prompts for AI, transforming vague requests into actionable solutions. Learn to provide context, define roles, specify tasks, and iterate like debugging code. Master prompt engineering for better code, architecture, and problem-solving. Build your own 'Prompt Library' and boost productivity!
Writing Secure Smart Contracts on Base
Jun 14, 2025.
This article helps you write safe smart contracts on the Base blockchain. It explains common security risks like reentrancy attacks, gas griefing, and problems that can happen on Layer 2 networks like Base. You will learn with simple examples, easy code in Solidity, and a checklist to follow when writing your contract.
Writing Serverless AWS Lambda in C#
May 05, 2025.
This article covers setting up your Lambda function, deploying it on AWS, and handling events with .NET. Ideal for developers looking to build scalable, event-driven applications using C# in the cloud.
What is Codeium and How to Use it for Test Case Writing
Sep 27, 2024.
This article explores Codeium, an AI-powered coding tool that enhances developer productivity with features like smart code suggestions, code chat, and in-line edits. It covers how to install the Codeium extension in Visual Studio and demonstrates using it to automatically generate xUnit test cases.
Writing Platform-Specific Code with Angular
May 04, 2023.
This article explores how Angular allows developers to write platform-specific code by using platform-specific providers. It explains the concept of platform-specific code and how it can be useful when working with platform-specific APIs or services. The article also provides examples of how platform-specific code can be written in Angular and how to use platform-specific providers to achieve this
Writing Tests Using Postman Tool
Jan 02, 2023.
In this article, you will learn how to write tests using Postman Tool.
Writing Tests In Playwright Test Automation Project
Oct 18, 2022.
In this article, you will learn how to write tests in playwright Test Automation Project.
Writing Efficient Unit Test Cases with Moq and Bogus
Mar 21, 2022.
Writing Efficient Unit Test Cases with Moq and Bogus.
What Are The Key Features For Editing In Writing
Oct 07, 2021.
In this article, you wil learn what are the key features for editing in writing.
Writing Unit Test Using XUnit And Mocking Frameworks (NSubstitue/FakeItEasy)
Apr 10, 2020.
In this article, you will learn about Writing Unit Test using XUnit and Mocking Frameworks like NSubstitue or FakeItEasy.
Writing Unit Tests For Our Applications Via xUnit, FakeItEasy And Shouldly
Jun 05, 2019.
This article shows you an easy sample to demonstrate how to write unit tests for our application via xUnit, FakeItEasy, and Shouldly.
Writing Distributable .NET Application With x2net
Apr 18, 2018.
Writing distributed applications, especially deployed across a network, tends to be a challenge, not only due to the trickiness of network programming but more so because your code, business logic messed up with communication details, is probably not flexible, hard to reuse and test in isolation.
Writing A Sensor Value In The SD Card Using Arduino
Apr 07, 2018.
In this article, we are going to see how to write ultrasonic sensor values in the SD card using SD Card module. This is applicable to every SD card.
Writing Code With Programming Ligatures In Visual Studio
Aug 01, 2017.
Almost all visual studio developers are already in love with Consolas font. Consolas is an awesome, top ranked font to write code. But sadly, Consolas doesn't has any ligature support for us. What is ligature in a language? Typographic ligature occurs when two or more letters are joined as a single letter. For example AE > Æ, OE > Œ etc. So how can we carry ligature in our code in visual studio? There are plenty of fonts to write code with ligature support, such like- Fira Code, HasKlig, Monoid and etc.
Writing Our Own Memory Manager In C/C++
Apr 21, 2017.
In this article we will write our own memory manager by implementing our malloc function and memory management schemes such as FCFS, Paging, Segmentation etc., using C/C++.
Writing Effective C# Code
Mar 16, 2017.
This article explains how to write better C# code to make it effective and maintainable.
Writing JavaScript Tests Using Jasmine Framework
Oct 11, 2016.
In this post, we will see how we can write unit test cases in JavaScript.
Writing Custom Report Using Report Wizard
Sep 18, 2016.
In this article, you will learn about writing custom reports for Dynamics CRM, using Report Wizard.
Writing Custom Reports For Microsoft Dynamics CRM 2016
Sep 15, 2016.
In this article, you will learn about custom reporting options in Dynamics CRM.
Writing A Sample Login Page In ASP.NET MVC
Aug 09, 2016.
In this article, we will create a simple login form in ASP.NET MVC . We will validate the user information from SQL Server and show the appropriate action, based on the user validation.
Writing Associate And Disassociate Request Using Web API
Jan 05, 2016.
This article is about writing associate and disassociate request using Web API.
Writing Update Request Using Web API
Dec 31, 2015.
This article is about writing update request using Web API in Dynamics CRM 2016.
Writing Delete Request Using Web API
Dec 31, 2015.
This article is about using DELETE http method in Web API in Dynamics CRM 2016.
Writing Create Request Using Web API
Dec 31, 2015.
This article is about writing create request in Dynamics CRM 2016 using Web API.
Writing Retrievemultiple Request Using Web API
Dec 29, 2015.
This article is about writing retrievemultiple request using Web API in Dynamics CRM 2016.
Writing Retrieve Method Using Web API
Dec 28, 2015.
This sample is about writing retrieve method using Web API for Dynamics CRM 2016.
Writing Clean Code and Magic Numbers
Jul 27, 2015.
In this article you will learn how to write clean code and Magic Numbers.
RESTful Day #4: Custom URL Re-Writing/Routing Using Attribute Routes in MVC 4 Web APIs
Jun 01, 2015.
In Day #4 of your RESTful journey, delve into the power of custom URL re-writing and routing using attribute routes in MVC 4 Web APIs. Unleash the flexibility of tailored endpoints, optimizing your API architecture for seamless communication and enhanced user experience.
Writing Your First Windows Phone 8 App
May 19, 2014.
In this chapter we will develop a Silverlight Windows Phone 8 application using the Visual Studio 2012 IDE.
Writing Data To a File Using PHP
May 16, 2014.
This article shows two ways to write data to a file. Also covered are some important file handling functions.
Writing For A Community Website Vs. Personal Blog
Sep 11, 2013.
Why should I write for a community website like C# Corner when I have my own personal blog? A few people have asked me this question on numerous occasions.
Writing XML Using DataSet in C#
May 31, 2013.
How to write a DataSet to an XML file using C#. The WriteXml method writes the current data (the schema and data) of a DataSet object to an XML file.
Writing Decoupled and Scalable Applications
Dec 04, 2012.
This article is the first in a series of three articles. It's sole purpose is to introduce you to domain events and commands.
Writing First “HelloWorld” Desktop Project on MonoDevelop
Nov 13, 2012.
In this article, I am going to show how we can install a new IDE “MonoDevelop” in Windows and write our first “HelloWorld” desktop project.
Writing an ActiveX Control in VB.NET
Nov 10, 2012.
Create a Windows control project in Visual Studio .NET and expose an interface to the COM world.
Writing Text in File With Windows Store Apps Using JavaScript
Sep 18, 2012.
In this article I describe how to write in a text file with The help of Windows Store Apps using JavaScript.
Writing Files in PhoneGap using FileWriter
Feb 10, 2012.
In this article, we will learn how to write files in a FileSystem using FileWriter.
Writing Table into XML and dynamically adding items to Listbox in Expression Blend
Dec 21, 2011.
In this article you will learn how to add the data to database (SQL server2008) and then write the database into the XML file and then binding data from this XML file into the listbox dynamically i.e. at the runtime. Here I have done this through a simple application in which the Employee record is fed by the user and this record is automatically added to the listbox.
Writing and Displaying XML Data in Expression Web
Dec 07, 2011.
In this article you will learn how to create and add an xml file data in the aspx page.