Wednesday, 24 April 2013

what are the Tiers? How many Tiers in.Net

There are three tiers . Those are
            1. Single tier , 
            2. Two tier  
            3. 3-tier

How many classes in .Net 4.0

 70000 classes in the Latest VS 2008

What is Satellite Assembly

Every resource file that contains language specific information after compilation gets converted into assembly (except English) those assemblies are known as Satellite Assembly.

write a program for Right to left Stars using C#.Net

program:

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ConsoleApplication1
{
    class startriangle
    {
        static void Main(string[] args)
        {
            Console.WriteLine("Enter the value:");
            int x = Convert.ToInt32(Console.ReadLine());
            for (int i = 1; i <= x; i++)
            {
                for (int j = 1; j <= x - i; j++)

                    Console.Write(" ");

                for (int k = 1; k <= i; k++)
                    Console.Write("*");
                Console.WriteLine(" ");
            }
            Console.ReadLine();
        }    
    }
}

output: 

What is COM

COM Stands for Component Object Model.

Is arrays support ‘ForEach’ iteration statement

Ans) Yes

What is difference between 1.0 and 2.0 of .Net


.Net 2.0 :
  1. Support for 64 bit application. 
  2. Generics 
  3. SQL cache dependency 
  4. Master Pages 
  5. Membership and roles