Latest posts on "c-net"

C# object-oriented

31 August 2018

Oriented process is to analyze the steps required to solve the problem, and then each step uses the function implementation, the function is called in turn, the C language object-oriented

C# method to determine whether the client disables cookies

30 August 2018

For security reasons, some clients disable cookies. When you want to use cookies to store some information (especially some critical information), you need to determine whether the customer has disabled cookies. How to judge?

C# dictionary Dictionary sorting (sequence, reverse order)

30 August 2018

After the introduction of Linq in C# .net 3.5 and above, dictionary dictionary sorting becomes very simple, and it can be done with a query similar to sql database; however, .net 2.0 sorting is a bit more troublesome, for ease of use, it will summarize .net 3.5 And the sorting method of 2.0.

3 methods and efficiency of converting C# to int

30 August 2018

There are three ways to convert other types into integers in C#, int.Parse(), cast (int), and Convert.ToInt32(). Let's explore their respective features and efficiencies.

How to change datetimeoffset to datetime c# ?

22 November 2017

In this tutorial I will show you how to convert datetimeoffset to datetime using c#. Here, I want to save the datetime object value into the database. But the datetimeoffset was returning string value. In order to convert string (datetimeoffset) to datetime you may follow this way,

How to appending an existing XML file in c#?

20 March 2017

In this article I will show how to append new data to an xml file using c#. If you want to add data to xml file without reloading the xml file appending data to the first row using the xElement addBeforeSelf...

Control the brightness of image using c#

11 March 2017

In this article I will show you how to apply brightness of an image using c#.net. You can adjust the color components of the image from the input ranges between -255 and 255.

Page 1 of 14