HomeCSharpPage 46

CSharp

Showing 901 - 920 of 961 results
The extension methods in C# provides one of the easiest way to add a method to an existing type ....
There are times when you want to prevent overriding a method or property but still want the class be inheritable...
If you are looking for a code snippet to convert byte array to string in C#. Below is a sample...
There are many different ways in which one can declare an array in C# . In this blog post ,...
When using the automatically implemented properties in C#, we cannot have the property with just a get. When attempting to...
There are times when you would have an array of string with only integer values and you may want to...
When using the SQL Query, we could use the IN keyword to find the item something like this SELECT *...
Below is a simple example demonstrating the usage of the Anonymous Delegate which is assigned to the Fun class. The...
I had the privilege of working on some of the interesting languages like Delphi, Oxygene, C# etc. All the languages...
If you need to convert the first letter of every word of a sentence to caps lock, you can use...
Few months back , I was making an R&D on the possibilities of reading and writing to/from the Excel file...
There are times when you want to retrieve the ID of the last inserted record when using Entity Framework ....
This article will provide a code snippet and explains how to return Dictionary as result from a LINQ Query in...
Most of the developers would have come across Any() and Count() when using LINQ in C# . What is difference...
Learnt something cool today on how to use Lambda expression and LINQ to concatenate string in C#. Using Lambda Expression...
If you want to Truncate Data or delete all the data from the table in Entity Framework (.NET 4.5) ,...
For last few years , I had the opportunity to try LINQ to SQL and Entity Framework and have been...
Are you looking for the support of MySQL with Entity Framework for developing a .NET Application using the MySQL database...
The LINQ (Language Integrated Query) has the extension methods SingleOrDefault and FirstOrDefault . What is the difference between SingleOrDefault and...
Want to learn LINQ(Language Integrated Query) in .NET ? In this blog post , I will share links to some...

Categories

Archives