Top 10 .net interview questions

Posted 4 CommentsPosted in,, Interview questions web form MVC Page controller pattern that means an implicit controller (code behind) would process the request Front controller pattern that means an explicit controller would be there to process the request web form has user controls for code reusability Partial views has code reusability view and controllers are not separated view and […]

Debugging C#, code

Posted Posted in,

The first thing in debugging .net code is how to put breakpoints in .net program. Placing a breakpoint in .net is as is as clicking on left side of the code and marking one line where the debugger would halt when you execute your application Look at the below example with a debugger: Now you […]

Hello, World!! program in

Posted Posted in,

Open Visual studio File–>New–>Project–>Console Application It would open a program.cs for you using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ConsoleApplication1 {    class Program    {        static void Main(string[] args)        {        }    } } Add below lines within the class Console.WriteLine("Hello, world!"); Console.ReadLine(); The first line uses […]