Posts

Showing posts from July, 2019

.Net most asked interview questions for experienced professionals (C#,Asp WEBFORM,MVC,ASP CORE,WEB API,SQL Server,Java Script,Jquery)

Hello All Recently I have participated in multiple interviews. I found a lot of most frequently asked questions on the .Net framework. So I am just going to share with you, I hope it will be helpful while interview. I am just starting from C# questions and you have to find the answer over the Internet. I will update more question later C# Question    What is manage/Unmanaged code in c#  Tell me one scenario, Use of Interface instead of Abstract? Difference between Abstract Class and Interface with Scenario when to use it (Brief explain ) What happens if the inherited interfaces have conflicting method names? If one interface has 5 methods and wants to implement only 2 methods derived class. How can we do it? What Difference between Abstract and virtual method  and why we use if both near to  same  What is Constructor and its type, Default, Public, Private, Static  What is the Constructor Chaining in C#? What is...

how to make a program which checks and count occurrences Value in An Array in c#

Image
In this article, I will show, how to make a program which checks and count occurrences value in an Array  in c# using System; using System.Collections; using System.Collections.Generic; using System.Linq.Expressions; namespace testconsole {     class Program     {               static void Main(string[] args)         {             int[] myArray = new int[] { 1, 2, 3, 4, 5, 6, 2, 2 };             string chekvalue = "";             for  (int i = 0; i < myArray.Length-1; i++)             {             if (chekvalue.Contains(myArray[i].ToString()))                 {                 }                 else { ...

how to make a program which checks and count occurrences characters in a string in c#

Image
In this article, I will show, how to make a program which checks and count occurrences characters in a string in c# using System; using System.Collections; using System.Collections.Generic; using System.Linq.Expressions; namespace testconsole {     class Program     {               static void Main(string[] args)         {             string input = "this is Manvendrs Patel Blog ";             string chekvalue = "";             for  (int i = 0; i < input.Length; i++)             {             if (chekvalue.Contains(input[i].ToString()))                 {                 }                 else {      ...