Search

How to Parser CSV Data When a Field Has Commas in C#
By Tan Lee Published on Dec 20, 2024 378

When working with CSV data, commas are typically used to separate fields.

Read more
Asynchronous Programming in .NET Core
By Tan Lee Published on Dec 19, 2024 211

This article explores asynchronous programming in .NET Core C# using `async` and `await`. It covers the fundamentals of async programming, explaining how it differs from synchronous programming.

Read more
Entity Framework Code First vs Database First vs Model First Approach
By Tan Lee Published on Dec 19, 2024 287

The article discusses three different approaches for implementing Entity Framework in .NET or .NET Core-based C# applications.

Read more
How to Export dataset to excel in C#
By Tan Lee Published on Dec 16, 2024 413

To export a dataset to an Excel file in C#, you can use libraries like EPPlus, ClosedXML, or NPOI.

Read more
How to convert string to base64 in C#
By Tan Lee Published on Dec 16, 2024 252

In C#, you can convert a string to a Base64 encoded string using the Convert.ToBase64String method.

Read more
XML Serialization in C# .NET
By Tan Lee Published on Dec 15, 2024 441

XML serialization in C# .NET allows you to convert an object into an XML format, which is useful for saving data to an XML file or transmitting it over the network.

Read more
How to Upload Files Using C# ASP.NET FileUpload Control
By Tan Lee Published on Dec 15, 2024 584

To upload a file using the FileUpload control in ASP.NET with C#, follow these steps.

Read more
C# lambda expression
By Tan Lee Published on Dec 15, 2024 242

A lambda expression is a concise, anonymous function not tied to an identifier, allowing for more streamlined and readable code.

Read more
C# Task
By Tan Lee Published on Dec 14, 2024 234

A Task in C# represents an asynchronous operation. It is part of the System.Threading.Tasks namespace and is widely used in asynchronous programming to perform tasks without blocking the main thread.

Read more
C# File
By Tan Lee Published on Dec 13, 2024 274

In C#, to work with files, you use the System.IO and System.Text namespaces.

Read more