Truemag

  • Home
  • Angular JS
  • C Sharp
  • DevOps




November 2018 2

C# Interview Questions

chsarp-logo

What is the difference between an Abstract Class and an Interface?

Abstract Class are a type of class that does not have any implementation. A Abstract class is generally used as a base class. We cannot create any instance of an abstract class.

What is the difference between a structure and a class?

Structure is a value type but class is a reference type. Structures can store the value directory but classes hold the reference of the value you want to store.

What are Generics?

Generics gives us the flexibility to change the value of return types at the run time. We can use <> brackets when declaring the objects. For Example: IList<T> lst =new List<T> where <T> is the return type.

Write a program to reverse a linked list using recursion?

What are the extension methods in CSharp?

Extension methods are used for extending the functionality of a currently existing function which you don’t have access to. Lets say that you have a dll where you want to add your functionality, so in this case you can extent the functionality of the dll using the extension methods. We use this for implementing the extension methods.

What is overriding and overloading?

Overriding is implemented in c sharp using the Virtual and Override keywords, but in case of overloading we change the number of arguments or datatypes.

What are enums?

Write a program to reverse the words in a sentence?

Write a program to create check if the subset adds to the sum of a given number?

What is Threadpooling?

Write a program for implementing singleton pattern?

What is the difference between locks and Monitors in C Sharp?

How to implement custom linked list in c sharp?

You may be interested in below interview questions:

  • Javascript Interview Questions
  • NodeJs Interview Questions

Javascript programming interview questions

angular js

Here are a list of top javascript programming interview questions.

What is javascript?

Javascript is a client side programming language that is used for editing the dom on the html page. Javascript helps in creating interactive web pages. Javascipt helps in creating animation in the webpages.

What are the different data types available in Javascript?

What are global variables in Javascript?

How are the global variables declared in Javascript?

Why is the use of this keyword in Javascript?

this keyword is used to denote the current instance of the object. The this keyword is used when we want to use a object within our function.

How do we use comments in Javascript?

There are two ways that we can implement comments in our application. They are single line comments and multi line comments. Single line of comments are useful when we want to comment a single line of code. // is used at the starting of the line. Multi line comments are used when we want to comment more than one line of code.We place /* at the starting and */ at the end of the line where you want to end the comment.

What is the meaning of undefined in Javascript?

How do we use javascript cookies?

How can we check the status of a checkbox?

What is prototyping in Javascript?

What is the difference between a null and undefined variable in javascript?  

Sign up for our newsletter to receive the latest news and event postings.

Recent Posts
  • Case Statement in Azure DevOps
  • How to solve file not found error in Linux?
  • How to delete local branch in git?
  • What is the git command to move branch pointer to different commit without checkout ?
  • What command tracks the revisions in git ?
Recent Comments
  • How to change directory in git bash? - Prashant's Blog on How to delete local branch in git?
  • eebest8 on How to use Http Post in Angular 4

  • Case Statement in Azure DevOps
  • How to solve file not found error in Linux?
  • How to delete local branch in git?
  • What is the git command to move branch pointer to different commit without checkout ?
  • What command tracks the revisions in git ?
  • Home
  • Angular JS
  • C Sharp
  • DevOps
  • June 2020
  • April 2020
  • February 2020
  • July 2019
  • June 2019
  • May 2019
  • January 2019
  • November 2018
  • October 2018
  • September 2018
  • July 2018
  • March 2018
  • February 2018
2018 © Prashant's Blog