1165 2
Can anyone explain difference between a virtual and abstract function with example in C#?

Can anyone help me to understand the difference between virtual functions and abstract functions with the example in C#, I would like to understand it in easy languages as I am not able to get it reading books etc, so I can understand in which situation I should use which function(abstract/virtual)?

Thanks

...
Type
Question
C# OOPS-concept difference between abstract function and a virtual function?
1158 1
Connect to SQL Server in C# (example using Console application)
In this article, I will provide working console application example in C# to connect to SQL server database and explain about connection string C# with various connection strings sample.
Type
Article
C# c# connect to sql server c# database connection
1158 1
How to get Current page number of IPagedList Razor View in MVC?

Hi, i would like to get page number of Current page in jQuery or in HTML of the Asp.net MVC PagedList.IPagedList.

...
Type
Question
Razor MVC C# PagedList.IPagedList
1156 2
JSON.NET Error Self referencing loop detected for type

I am trying to convert List into JSON format using the code below

...
Type
Question
C# serialization json entity-framework
1100 1
How to insert C# variable value in between string properly?

Hello, I am trying to pass this string from back-end C# to front end, and want to render it as HTML, when passing this string to the front-end, it doesn't look proper, here is my current C# code.

...
Type
Question
C# string c# insert variables into string c# string inline variable

1072 0
Read excel file in C# (Console application example using OLEDB)
In this article, I am going to provide you code with explanation in C# to read excel file (xls) using OLEDB using Console application example.
Type
Article
C# c# read excel c# read excel file c# read excel file example c# open excel file c# read excel file line by line
1060 0
Using Entity framework join (EF join) to join two or more tables
In this article, I will explain how we can easily implement inner join on data of two or more tables using entity framework join (ef join) in ASP.NET MVC C#.
Type
Article
C# Entity framework join ef join join using lambda linq to sql join join in entity framework
1059 0
How to convert string to int in C#?
In this article, I will provide you quick and easy ways to convert string to int using int.parse and int.tryparse with explaining the difference between these two.
Type
Article
C# convert string to int int.Parse and int.TryParse
1044 0
Transfer e-mails from one exchange server to another using EWS Api in C# .NET
Transfer e-mails from one exchange server to another using EWS Api in C# .net MVC
Type
Article
ews C# asp.net MVC
1015 1
how to catch all error in C# MVC (error handling)

I have a website in C# MVC and I want to add a feature to it, i.e, to save all the errors in database using one function only, I can place try/catch block in every method of the web applications but it would be lengthy process, so is it possible to place a method/code in one place from where I can save each and every error in database??
I have no idea

 

 

...
Type
Question
C# Error handling

Page 4 of 12