Wednesday, April 28, 2010
Tuesday, April 20, 2010
Technical: To create customized class file template in Visual Studio.
Hi Friends,
We can create customized templates for Visual Studio. Please find below the steps for customized class file template.
Steps:
1. Create an Empty Project.
2. Add class file.
3. Write the necessary statements in this file which you want every time you create new class file. Save the project.
4. Go to File Menu -> Export Template...
5. It will give us a zip file.
6. Copy this file to the location: Visual Studio 2008/Templates/Project Templates/Visual C# [If you are using C#, o/w corresponding language folder.]
7. Now Open a new project & click on Add Item. You can see this new template in the Add Item dialog Box for that language.
This example gives ‘class' file template. You can customize any item type.
Thank You.
Happy Coding..!! :-)
We can create customized templates for Visual Studio. Please find below the steps for customized class file template.
Steps:
1. Create an Empty Project.
2. Add class file.
3. Write the necessary statements in this file which you want every time you create new class file. Save the project.
4. Go to File Menu -> Export Template...
5. It will give us a zip file.
6. Copy this file to the location: Visual Studio 2008/Templates/Project Templates/Visual C# [If you are using C#, o/w corresponding language folder.]
7. Now Open a new project & click on Add Item. You can see this new template in the Add Item dialog Box for that language.
This example gives ‘class' file template. You can customize any item type.
Thank You.
Happy Coding..!! :-)
Monday, April 19, 2010
Technical: Garbage Collector in .NET
Hi Friends,
I wanna share few terminologies related to Garbage Collector in .NET. Hope this helps u...
Garbage Collection Phases:
Types of Garbage Collection:
Survival & Promotions:
Objects that are not reclaimed in a Garbage Collection are known as Survivors & are promoted to the next generation.
Variable Threshold:
When Garbage collector detects that the survival rate is high in a generation, it increases the threshold of allocations for that generation, so that next collection gets a substantial size of reclaimed memory.
Unmanaged Resources:
If your managed object refers unmanaged objects by native file handlers, you have to explicitly free the managed objects, because the collector tracks memory only on the managed heap.
This can be done by using finalizers. You can make your managed object finalizable.
When your finalizable object is detected as dead, its finalizer puts in a queue so that the cleanup actions are executed and the objects itself is promoted to next generation.
Q: How GC determines whether object is live?
A: 1. Stack Roots
2. Garbage Collection Handles
3. Static Data Tracking
Q: When Garbage Collection occurs?
A: 1. When system has low physical memory.
2. When the memory that is used on managed heap surpasses acceptable threshold. [This threshold
continuously adjusted as the process runs.]
3. When GC.Collect() method is called.
Thank You..!! :-)
Happy Coding..!! :-)
I wanna share few terminologies related to Garbage Collector in .NET. Hope this helps u...
Garbage Collection Phases:
Types of Garbage Collection:
Garbage Collector Generations:
Survival & Promotions:
Objects that are not reclaimed in a Garbage Collection are known as Survivors & are promoted to the next generation.
Variable Threshold:
When Garbage collector detects that the survival rate is high in a generation, it increases the threshold of allocations for that generation, so that next collection gets a substantial size of reclaimed memory.
Unmanaged Resources:
If your managed object refers unmanaged objects by native file handlers, you have to explicitly free the managed objects, because the collector tracks memory only on the managed heap.
This can be done by using finalizers. You can make your managed object finalizable.
When your finalizable object is detected as dead, its finalizer puts in a queue so that the cleanup actions are executed and the objects itself is promoted to next generation.
Q: How GC determines whether object is live?
A: 1. Stack Roots
2. Garbage Collection Handles
3. Static Data Tracking
Q: When Garbage Collection occurs?
A: 1. When system has low physical memory.
2. When the memory that is used on managed heap surpasses acceptable threshold. [This threshold
continuously adjusted as the process runs.]
3. When GC.Collect() method is called.
Thank You..!! :-)
Happy Coding..!! :-)
Sunday, April 18, 2010
Friday, April 16, 2010
Wednesday, April 14, 2010
Social: Animals need u this summer.
Monday, April 12, 2010
Fun: Award Winning Cartoons.
Environment
Poverty
Population
Humanity (Modernization)
Terrorism (The flag of peace)
LOC Problem: (Drawing lines, trapping free birds)
Leader
Poverty
Population
Humanity (Modernization)
Terrorism (The flag of peace)
LOC Problem: (Drawing lines, trapping free birds)
Leader
Suicide Scenario (Free Advice: Please don’t follow it. It may harm not only to you, but also to your loving family & frnds).
Enjoy..!! :-)
Social: To detect hidden cameras in trial rooms.
How to detect HIDDEN CAMERA in trial rooms.........
Infront of the trial room take your mobile and make sure that mobile
can make calls........
Then enter into the trail room, take your mobile and make a call.....
If u can't make a call......!!!!
There is a hidden camera......
This is due to the interference of fibre optic during the signal transfer......
Please forward this to your friends to educate this issue to the public......to prevent the ladies from HIDDEN CAMERA...........
Take Care.
Infront of the trial room take your mobile and make sure that mobile
can make calls........
Then enter into the trail room, take your mobile and make a call.....
If u can't make a call......!!!!
There is a hidden camera......
This is due to the interference of fibre optic during the signal transfer......
Please forward this to your friends to educate this issue to the public......to prevent the ladies from HIDDEN CAMERA...........
Take Care.
Sunday, April 11, 2010
Technical: What is Test Scenario?
Test Scenario is high level description of business requirements, which is later decomposed into set of test cases.
Test Scenario may contain list of test cases to test a particular scenario. Test scenarios are executed through test scripts or test procedures.
The test cases may be ordered in a test scenario, which means output of one test case will be an input for the next test case.
We can write scripts to execute a test case. A single script may cover multiple test scenarios.
For Example: 'Test a login page' will be a test scenario.
This scenario may contain multiple test cases like: If user name is blank, If password is blank, If credentials match, If credentials does not match, etc.. etc...
Hope this helps!!
Happy Coding!!!
Test Scenario may contain list of test cases to test a particular scenario. Test scenarios are executed through test scripts or test procedures.
The test cases may be ordered in a test scenario, which means output of one test case will be an input for the next test case.
We can write scripts to execute a test case. A single script may cover multiple test scenarios.
For Example: 'Test a login page' will be a test scenario.
This scenario may contain multiple test cases like: If user name is blank, If password is blank, If credentials match, If credentials does not match, etc.. etc...
Hope this helps!!
Happy Coding!!!
Wednesday, April 7, 2010
Health: Why invest in laughter?
It is impossible to worry while you're laughing.
Humor cuts stress levels in half.
Laughing helps you to stay happy and healthy and helps you return to good health when ill.
Laughter increases, by 20%, the activity of killer cells within the body which serve to destroy viruses and tumor cells.
Train yourself to look for the comedy in your chaos.
A sense of humor is the number one survival skill.
George Bernard Shaw once said, "When you find something funny search it for hidden truth."
"The art of medicine consists of amusing the patient while nature cures the disease." Voltaire
Humor helps us cope, conquer, and carry on.
A good laugh is not only the result of humor, it is often also the cause.
The body heals with play, the mind heals with laughter and the spirit heals with joy.
The best exercise is jumping for joy.
"Joy is the serious business of heaven." C.S. Lewis.
We begin to solve our problems when we begin to see the humor in them.
"Time spent laughing is time spent with the gods." Japanese proverb.
When we feel like laughing the least , we need it most.
If it feels good to laugh, then laugh to feel good.
A sense of humor is not inherited, it is learned.
Keep Laughing..!! :-)
Humor cuts stress levels in half.
Laughing helps you to stay happy and healthy and helps you return to good health when ill.
Laughter increases, by 20%, the activity of killer cells within the body which serve to destroy viruses and tumor cells.
Train yourself to look for the comedy in your chaos.
A sense of humor is the number one survival skill.
George Bernard Shaw once said, "When you find something funny search it for hidden truth."
"The art of medicine consists of amusing the patient while nature cures the disease." Voltaire
Humor helps us cope, conquer, and carry on.
A good laugh is not only the result of humor, it is often also the cause.
The body heals with play, the mind heals with laughter and the spirit heals with joy.
The best exercise is jumping for joy.
"Joy is the serious business of heaven." C.S. Lewis.
We begin to solve our problems when we begin to see the humor in them.
"Time spent laughing is time spent with the gods." Japanese proverb.
When we feel like laughing the least , we need it most.
If it feels good to laugh, then laugh to feel good.
A sense of humor is not inherited, it is learned.
Keep Laughing..!! :-)
Social: Indians in the EyEs of an AmeRican
AN AMERICAN VISITED INDIA AND WENT BACK TO AMERICA
.
.
WHERE HE MET HIS INDIAN FRIEND WHO ASKED HIM
HOW DID U FIND MY COUNTRY
THE AMERICAN SAID IT IS A GREAT COUNTRY
WITH SOLID ANCIENT HISTORY
AND IMMENSELY RICH WITH NATURAL RESOURCES.
---------------------------------------------------------------------------
THE INDIAN FRIEND THEN ASKED ….
HOW DID U FIND INDIANS …….??
INDIANS??
WHO INDIANS??
I DIDN'T FIND OR MET A SINGLE INDIAN
THERE IN INDIA…….
---------------------------------------------------------------------------
WHAT NONSENSE??
WHO ELSE COULD U MET IN INDIA THEN……??
THE AMERICAN SAID ……..
IN KASHMIR I MET A KASHMIRI–
IN PUNJAB A PUNJABI—–
IN BIHAR,MAHARASTRA, RAJASTHAN, BENGAL,TAMILNADU,KERALA
BIHARI,MARATHI, MARWADI, BENGALI,TAMILIAN, MALAYALI………
THEN I MET
A MUSLIM,
A HINDU
A CHRISTIAN,
A JAIN,
A BUDDHIST
AND MANY MANY MANY MORE
BUT NOT A SINGLE INDIAN DID I MEET
---------------------------------------------------------------------------
THINK HOW SERIOUS THIS JOKE IS……………..
THE DAY WOULD NOT BE FAR OFF WHEN INDEED WE WOULD
BECOME A COLLECTION OF NATION STATES AS SOME
REGIONAL ANTI-NATIONAL POLITICIANS WANT ...
FIGHT BACK -
ALWAYS SAY I AM INDIAN
JAI HIND
Regards,
A True Indian
Request you all to contribute in awareness by forwarding this message!!!
With warm regards,
No Name, Just An Indian....!!
.
.
WHERE HE MET HIS INDIAN FRIEND WHO ASKED HIM
HOW DID U FIND MY COUNTRY
THE AMERICAN SAID IT IS A GREAT COUNTRY
WITH SOLID ANCIENT HISTORY
AND IMMENSELY RICH WITH NATURAL RESOURCES.
---------------------------------------------------------------------------
THE INDIAN FRIEND THEN ASKED ….
HOW DID U FIND INDIANS …….??
INDIANS??
WHO INDIANS??
I DIDN'T FIND OR MET A SINGLE INDIAN
THERE IN INDIA…….
---------------------------------------------------------------------------
WHAT NONSENSE??
WHO ELSE COULD U MET IN INDIA THEN……??
THE AMERICAN SAID ……..
IN KASHMIR I MET A KASHMIRI–
IN PUNJAB A PUNJABI—–
IN BIHAR,MAHARASTRA, RAJASTHAN, BENGAL,TAMILNADU,KERALA
BIHARI,MARATHI, MARWADI, BENGALI,TAMILIAN, MALAYALI………
THEN I MET
A MUSLIM,
A HINDU
A CHRISTIAN,
A JAIN,
A BUDDHIST
AND MANY MANY MANY MORE
BUT NOT A SINGLE INDIAN DID I MEET
---------------------------------------------------------------------------
THINK HOW SERIOUS THIS JOKE IS……………..
THE DAY WOULD NOT BE FAR OFF WHEN INDEED WE WOULD
BECOME A COLLECTION OF NATION STATES AS SOME
REGIONAL ANTI-NATIONAL POLITICIANS WANT ...
FIGHT BACK -
ALWAYS SAY I AM INDIAN
JAI HIND
Regards,
A True Indian
Request you all to contribute in awareness by forwarding this message!!!
With warm regards,
No Name, Just An Indian....!!
Thursday, April 1, 2010
Subscribe to:
Posts (Atom)