Pages

Monday, December 27, 2010

Send Free New Year SMS - atsms4u

Send Free New Year SMS

Atsms4u wishes you Happy New Year 2011

Celebrate Your New Year Festival by Sending Free SMS Any Where in India on New Year 2011 via atsms4u

After the celebration of Christmas and when Santa Clause is gone in just 7 days we have New Year with lots of New Happiness, New Hope, New Fun, New Dream, New Blessings….A New Day to start our work, our studies, our achievements and goals, our life with a new style

Lets make this new year 2011 some more special than 2010, lets spread more love, lets spread more happiness, lets come forward with helping hands for those needy people, lets do something different andf special which makes other feel better and happy, lets not hurt our friends, relatives and loved ones, lets not cheat, lie, steal or do some wrong things, lets be kind and merciful to others, lets not be angry or fall into temper, lets not fight and shout, lets be humble, have fun, enjoy each moment and always have a smiling face.  Even though you cant get a good marks in studies, good job, good salary and even though your condition is same as it was in last year but at least change your behavior your nature and these all things will follow you, because God is with you always

ATSMS4U presents simple and cool way to make you and your Friends always in touch. You just need to register yourself in www.atsms4u.com login and Send Free SMS to your Friends, Relatives and Loved Ones you know all over India… Keep in touch with your SMS…Keep in touch with ATSMS4U…Your New Friend of 2011.

Send Free New Year SMS of 200 Characters to any mobile phone all over India.

Send New Year sms to your friends and relatives.

Wish happiness, prosperity and great joys of coming New Year

ATSMS4U.COM provides you a Simple and Easy User Interface for Sending Quick New Year SMS.

Wednesday, December 15, 2010

Send Free Christmas SMS - atsms4u

Send Free Christmas SMS


Celebrate Your Christmas Festival by Sending Free SMS Any Where in India


We Celebrate Christmas On 25th December.

Send Free Christmas SMS of 200 Characters to any mobile phone all over India.

On 25th December, a Day to remember, a Day to praise, a Day to be Happy, a Day to sing, a Day to dance, a Day of blessing, a Day of GOD, Jesus Christ who came to this world for us.

Out in the fields, an angel of the Lord appeared to the shepherds who were tending their flocks of sheep by night. The angel announced that the Savior had been born in the town of David.

Suddenly a great host of heavenly beings appeared with the angels and began singing praises to God. As the angelic beings departed, the shepherds decided to travel to Bethlehem and see the Christ-child.

ATSMS4U.COM provides you a Simple and Easy User Interface for Sending Quick Christmas SMS.

So this is how it goes on and we the Team ATSMS4U celebrate this day with Great Passion and Happiness.

Then within a week we have a New Year coming, as Night Ends and Day Follows, as Sorrows leaves us and Happiness enters, as Questions goes and Answers comes in, as Darkness ends and Light flashes, as Old dies and New take Birth, We have a new start, new hope, new day to start all over again.

Simply a New Start which says life has given us one more chance to gain which we lost in last year or to achieve which is just a dream.

You can also Send Free SMS  to more than one Mobile Number,Create Contact List and Groups which helps you to have your own Phone book or Phone Directory.

Set Schedule message at your Time and It will be sent to that Number even if you are not online.

Many Categories of message’s like Friendship, Love, Shayari, Joke, Fun, Valentine and Many more instant Season free messages available in Quick Free SMS Template.

Enjoy your Christmas and New Year with ATSMS4U by sending Free Christmas SMS of 200 Characters.

please visit www.atsms4u.com

Friday, December 3, 2010

Top 10 Interview Questions on OOPS

Top 10 .Net Interview Questions and Answers on OOPS

1. What is an Object in OOPS?
An object is a software bundle of variables and related methods. Objects are related to real life scenario. Class is the general thing and object is the specialization of general thingObjects is instance of classes.




Declaration of an Object in OOPs
ClassName objectName=new ClassName();
E.g.: Person objPerson= new Person();
An object is characterized by concepts like:
•            Attribute
•             Behavior
•             Identity




2.   What is an Attribute in OOPs?
•        Attributes define the characteristics of a class.
•        The set of values of an attribute of a particular object is called its state.
•        In Class Program attribute can be a string or it can be a integer



3.    What is a Behavior in OOPS?
•        Every object has behavior
•        In C#, behaviors of objects are written in methods.
•        If a behavior of an object needs to be performed, then the corresponding method is called.




4.    What is an Identity in OOPS?
•        Each time an object is created the object identity is been defined.
•        This identity is usually created using an identifier which is derived from the type of item


 
5.     What is Encapsulation in OOPS?
•        Encapsulation is one of the fundamental principles of object-oriented programming.
•        Encapsulation is a process of hiding all the internal details of an object from the outside world
•        Encapsulation is the ability to hide its data and methods from outside the world and only expose data and methods that are required
•        Encapsulation is a protective barrier that prevents the code and data being randomly accessed by other code or by outside the class
•        Encapsulation gives us maintainability, flexibility and extensibility to our code.
•        Encapsulation makes implementation inaccessible to other parts of the program and protect from whatever actions might be taken outside the function or class.
•        Encapsulation provides a way to protect data from accidental corruption
•        Encapsulation hides information within an object
•        Encapsulation is the technique or process of making the fields in a class private and providing access to the fields using public methods
•        Encapsulation gives you the ability to validate the values before the object user change or obtain the value
•        Encapsulation allows us to create a "black box" and protects an objects internal state from corruption by its clients.


There are two ways to create a validation process.
1.            Using Assessors and Mutators
2.            Using properties


Benefits of Encapsulation
•  In Encapsulation fields of a class can be read-only or can be write-only
•  A class can have control over in its fields
•  A class can change data type of its fields anytime but users of this class do not need to change any code



6.  What is Inheritance in OOPS?
•    Inheritance, together with encapsulation and polymorphism, is one of the three primary characteristics (concept) of object-oriented programming
•   Inheritance enables you to create new classes that reuse, extend, and modify the behavior that is defined in other classes
•  The Class whose methods and variables are defined is called super class or base class
•  The Class that inherits methods and variables are defined is called sub class or derived class
•  Sometimes base class known as generalized class and derived class known as specialized class
•   Keyword to declare inheritance is “:” (colon) in visual c#


Benefits of using Inheritance
•    Once a behavior (method) or property is defined in a super class(base class),that behavior  or property is automatically inherited by all subclasses (derived class).
•     Code reusability increased through inheritance
•     Inheritance provide a clear model structure which is easy to understand without much complexity
•   Using inheritance, classes become grouped together in a hierarchical tree structure
•   Code are easy to manage and divided into parent and child classes



7. What is Polymorphism in OOPS?
•    Polymorphism is one of the primary characteristics (concept) of object-oriented programming
•   Poly means many and morph means form. Thus, polymorphism refers to being able to use many forms of a type without regard to the details
•    Polymorphism is the characteristic of being able to assign a different meaning specifically, to allow an entity such as a variable, a function, or an object to have more than one form
•    Polymorphism is the ability to process objects differently depending on their data types
•    Polymorphism is the ability to redefine methods for derived classes.


Types of Polymorphism
•   Compile time Polymorphism
•    Run time Polymorphism


8. What is Compile Time Polymorphism in OOPS?
•   Compile time Polymorphism also known as method overloading
•    Method overloading means having two or more methods with the same name but with different signatures


9. What is Run Time Polymorphism in OOPS?
•  Run time Polymorphism also known as method overriding
•  Method overriding means having two or more methods with the same name , same signature but with different implementation


10. What is Access Modifier in OOPS?
Access modifiers determine the extent to which a variable or method can be accessed from another class or object
The following five accessibility levels can be specified using the access modifiers
•  Private
•  Protected
•  Internal
•  Protected internal
•  Public

Tuesday, November 30, 2010

Questpond .Net Interview Questions on Garbage Collection

Garbage Collection in .Net

.Net Framework's -Memory Management Garbage Collector which manages allocation and release of memory from application.Now developers no need to worry about memory allocated for each object which is created on application . garbage collector automatically manages memory on application

I would like share this horrible experience which I faced in one of the big IT multinational company. Even though I have 8 years of experience, I flunked very badly and I flunked due to 1 topic "Garbage collector". I hope the below discussion will help some one down the line when facing c sharp and dot net interviews. I just hope dot net interviews get more matured down the line and ask practical questions rather than asking questions which we do not use on day to day to basis.
The interviewer started with a basic question which I knew pretty well
What is a garbage collector?
Garbage collector is a background process which checks for unused objects in the application and cleans them up.
After that answer my guess was the interviewer will not probe more....but fate turned me down , came the bouncer.
What are generations in garbage collector?
Generation define the age of the object.
Well i did not answer the question , i have just written down by searching in google....
How many types of Generations are there in GC garbage collector?
There are 3 generations gen 0 , gen 1 and gen 2.
Then came a solid tweak questions which i just slipped by saying Yes...
Does garbage collector clean unmanaged objects ?
No.
Then came the terror question...which i never knew...
When we define clean up destructor , how does it affect garbage collector?
If you define clean up in destructor garbage collector will take more time to clean up the objects and more and more objects are created in Gen 2..
How can we overcome the destructor problem ?
By implementing "Idisposable" interface.
The above question was tricky , you can search in google for finalize and dispose patterns.
Where do we normally put unmanaged code clean up?.
In finalize a.k.a destructor.
One thing i learnt from this interview experience is one thing but we also should know core concepts in detail to crack Dot net interviews .
By ShivPrasad Koirala
For more Queries please visit : http://www.questpond.com

Thursday, November 25, 2010

C# and .NET interview questions and answers around global assembly cache (GAC)

C# and .NET interview questions and answers around global assembly cache (GAC)

for more visit :www.questpond.com


One of the most asked questions in .NET interviews are around assembly and GAC. Most of the times .NET developers get confused with these questions. Below are some of the question which keeps coming from GAC perspective.

Interviewer normally starts with what is GAC?
GAC is a central repository folder where you can share your DLL among different applications running in the same computer. So for example you have accounting and invoicing application running in the same computer and both these application need some common utility like the logging DLL then you need to register them in GAC and share them.

If you are able to answer the top interview questions the next question can be on versioning.
If we have different versions of DLL in GAC how can the application identify them?

This is done by using binding redirect and specifying older version and new version value. So which ever version you put in the new version will be used by the application.
The other question can come from the perspective of how you can register a DLL in GAC. Interviewer expectation is that you do not just talk about GACUTIL but you need talk more realistic.

What are the various ways by which you can register a DLL in GAC?

We can use the GACUTIL tool to register the DLL in GAC.

But when we talk about application they have 100 of DLL’s so how feasible is GACUTIL tool?

We need to create installation package which will register the DLL in GAC.

If we do not have strong name can assembly be registered in GAC?
This is again a catchy question which is testing do you know the pre-requisites to register DLL in GAC. No, you cannot register DLL in GAC without strong names.

How do we create strong named DLL?

By using SN.EXE or by going to the project properties and making the assembly string named.

So next time you face a question in GAC in C# and .NET interviews understand the above twist and twirls. Happy job hunting.

Wednesday, November 24, 2010

Questpond - .Net Interview Questions and Answers

.Net Interview Questions and Answers

for more please visit www.questpond.com




What is .Net?


.Net is software which is developed by Microsoft.

From .Net we can create softwares, application, web portals, web services, silver light application, and web sites

.Net provides tools for programmer or developers  to create all software related application (tools like ajax,grid,sql connection,html button , textbox, hyperlink and lots more).It enables to create stable and secure software development application




1      What is .Net Framework?


.Net Framework which includes base class libraries which provides user interface, database connectivity, web application tools etc


.Net Framework also includes CLR (Common Language Runtime) on which .Net program executes and provides functionality


2      What is .Net Architecture?

.Net Architecture is a Combination of

CLR (Common Language Runtime)

CTS (Common Type Specification)

Base Class Libraries

.Net tools

3      What is view state?

View State is a state management in .net. Its help to store information of data type and objects




4      What is Session State?

Session state is also state management but it helps to store and retrieves information for particular session.


5      What is Design Pattern?


Design patterns are reusable solution to software design problems you find again and again in real-world application development. A design pattern is not a finished design that can be transformed directly into code


Types of Design Pattern


   1. Adapter Pattern
   2. Flyweight Pattern
   3. Facade Pattern
   4. Decorator Pattern
   5. Iterator Pattern
   6. Bridge Pattern
   7. Template Pattern
   8. Proxy Pattern
   9. Prototype Pattern
  10. Builder Pattern
  11. Observer Pattern
  12. Strategy Pattern
  13. Command Pattern
  14. Interpreter  Pattern
  15. Mediator Pattern
  16. Memento Pattern

Structural Pattern

Structural Pattern uses object composition. Structural Pattern uses inheritance to define new functionality of object

 Behavioral Patterns

This Pattern deals with object communication

6      . What is Global Assembly Cache (GAC)?


GAC stores assemblies that stores assemblies specifically designated to be shared by several applications on the computer.


7.   What is an ADO.NET?

      ADO.Net is a .Net software component used by developers to able to access database through sql server        


7      . What are Generics?

Generics which is introduced in .Net Framework 2.0 which has ability to create list type safe collections


8.  Modes of Authentication in Web config file

        

          1 .Form

          2. Passport

          3. Windows


9.  What is three tier architecture?

          Three tier architecture is basically divided into three parts 1st is UI or user interface 2nd is Business Login where you write only your application login 3rd is a datalayer for database


10. What is Dataset?

   Dataset is disconnected architecture.  It usually loads data in tabular form or xml form

Saturday, October 30, 2010

seo on page optimization tips


Send Free Diwali SMS

What is SEO

1.       SEO as term implies "Search" "Engine" "Optimization"
What people searches
Engine means algorithm
Optimization optimizing a page according to algorithm

2.       SEO considers how search engines work and what people search for
3.       SEO is the process of improving the visibility of a web site or a web page on a different search engines.
4.       SEO can also be also called as web site marketing. Higher the optimization of a page more frequently a site appears in the search results list.
To know more of SEO in details you can visit http://en.wikipedia.org/wiki/Search_engine_optimization


There are two main types in search engine optimization:
1. On page Optimization
2. Off Page Optimization



On Page Optimization Tips
1.       Every page should have a unique title, unique description, and unique keyword
2.       Don't use hidden text or hidden links
3.       Website Should have SiteMap for more info visit : http://www.xml-sitemaps.com/
4.       Website Page Title normally 3-9 words or 60-80 characters maximum
5.       Website should have meta keywords and meta description
6.       Use heading tags 
only once per page
7.       Make sure for images use alt tag
8.       Updating Content once in a week
10.   Server optimization use gzip compression mode or mode_deflate in apache  for fast loading of a website or webpage page
11.   Optimize CSS and JavaScript best including external CSS
12.   To improve Keyword density use Jquery , Ajax XMLhttprequest to hide some unwanted content
13.   Use …bold tags for keywords
14.   Rewrite URLs  to seo-Friendly URLS.
15.   For best result please check Keyword analyzer tool and keyword density tool
16.   Submit Sitemap visit : http://www.xml-sitemaps.com/
17.   Add your website to different search engine
18.   For Google : webmaster tools for google
19.   Webmaster tools for bing
20.   Site Explorer for yahoo
21.   Have robot.txt file







For more Information in SEO tips visit my blog : Gurumatrix Blog

Monday, October 4, 2010

What is SEO

What is SEO (Search Engine Optimization)

1. SEO as term implies “Search” “Engine” “Optimization”
What people searches
Engine means algorithm
Optimization optimizing a page according to algorithm
2.       SEO considers how search engines work and what people search for
3.       SEO is the process of improving the visibility of a web site or a web page on a different search engines.
4.  SEO can also be also called as web site marketing. Higher the optimization of a page more frequently a site appears in the search results list.
Benefits of Doing SEO
1.Online Brand of a Website
2.Increase Visibility and Traffic
3.Increase Productive value of a website
4.Target More and More Clients on global Internet
Now a days google is a top most search engine

Access modifiers

What is an Access Modifier

Access modifiers determine the extent to which a variable or method can be accessed from another class or object
The following five accessibility levels can be specified using the access modifiers
Ø  Private
Ø  Protected
Ø  Internal
Ø  Protected internal
Ø  Public

To read this full article please visit : http://gurumatrix.wordpress.com/2010/10/02/access-modifiers-in-csharp/

Sunday, February 21, 2010

What is Object in C#


Watch our 500 videos on Azure, WCF, WPF, LINQ, Design Patterns, WWF, Silverlight, UML @ http://www.questpond.com
• An object is a software bundle of variables and related methods.
• Objects are related to real life scenario
• Class is the general thing and object is the specialization of general thing
• Objects are instance of classes.
• Declaration of an Object in C#.NET
• ClassName objectName=new ClassName();
• E.g.: Person objPerson= new Person();

An object is characterized by concepts like:
• Attribute
• Behavior
• Identity
1. What is an Attribute?

• Attributes define the characteristics of a class.

• The set of values of an attribute of a particular object is called its state.

• In Class Program attribute can be a string or it can be a integer


Example of Attribute:





















2. What is a Behavior?

• Every object has behavior

• In C#, behaviors of objects are written in methods.

• If a behavior of an object needs to be performed, then the corresponding method is called.
Example of behavior:













3. What is an Identity?

• Each time an object is created the object identity is been defined.

• This identity is usually created using an identifier which is derived from the type of item

Example of Identity:
















Source Code

using System;

class SalaryCheque
{

public string _EmployeeName;

public int _Amount;

public string EmployeeName(string name)

{

_EmployeeName = name;

return _EmployeeName;

}


public void EmployeeType(int type)
{


if (type == 1)
{

this._Amount = 50000;

}

if (type == 2)
{

this._Amount = 27000;


}

if (type == 3)
{

this._Amount = 5000;

}

}


public void DisplayCheque()
{

Console.WriteLine("This Month Salary for " + _EmployeeName + " is " + _Amount);

}

}

class SalaryChequeDisplay
{


static void Main()

{


string _name;

int _employeeType;


Console.WriteLine("Please Enter Employee Name");

_name = Console.ReadLine();


Console.WriteLine("Enter Employee type 1 for Manager 2 for Assistant Manager 3 for Worker");

_employeeType = Convert.ToInt16(Console.ReadLine());


SalaryCheque objsal = new SalaryCheque();


objsal.EmployeeName(_name);

objsal.EmployeeType(_employeeType);

objsal.DisplayCheque();



}

}