Search results for: “label/Csharp”
LINQ to perform operation with DataTable in C#
.
If you are a C#.Net developer, then you must be familiar with Data Table and LINQ. In C#, a Data Table is an in-memory object to represents data in tabular format i.e. rows and columns. Once you get data in…
How to Integrate SMS gateway in ASP.Net website ?
.
In this blog, I will write about How to send SMS using C# code?You all must have received SMS related to OTP (One Time PIN) on your mobile for various kind of transactions from different websites or App.Here I will…
What’s new in C# 6.0 language?
.
C# 6.0 is an another version of C# programming language released in the year 2015. C# 6 provides numerous new features which helps developer to write C# code in more clean and optimized way. Here are top 8 features of C#…
Important C# Interview Questions and Answers
.
In this blog, I have collected important C# interview questions and answers and their answers, which will help you in preparing your interview. If you are an ASP.Net or ASP.Net Core programmer or developer who is preparing for an interview, then…
State Management in C#
.
In my other blogs, you may read C# 6.0 new featuresIn this blog, I will explore about State Management in C#. If you have attended an interview as a C#.Net developer, then questions related to State Management is likely to…
What is collection in C#
.
Collection classes are used to store data of specific types. All types of collection support IEnumerable interface. Below are collection classes used in C#.net, all classes come under System.Collection namespace. List – An array does not allow dynamic resize, but…
What is Nullable types in C#
.
What is nullable type in C# code? Please explain with an example. Nullable types were introduced in C# 2.0.Nullable types are instances of the System.Nullable<T> struct. A nullable type can represent the range of values for its underlying data type,…
Dictionary in C sharp. Please explain with code
.
What is a dictionary in C#?Please explain. Below you can understand the use of the dictionary in an easy way. The Dictionary type in the C# language provides fast lookups with keys to get values.It allows you to use keys…
Concept of boxing and Unboxing in C sharp
.
Boxing and Unboxing concept in C# language. Explaining with code. Boxing: Boxing refers to the process of moving from a value type to reference type.Un-Boxing: Un-Boxing refers to the process of moving from a reference type to value type. Ex:Public…
Bulk copy data from excel sheet to sql table
.
How to process bulk copy data from excel sheet to sql table. Here is code to copy data from excel to sql. C# Code: string excelFile = @”C:Book1.xls”; string ssqlTable = “[MyTableName]”; …
