All the postings on this blog are "As it is" with no warranties and confer no rights. Neither my employer nor me shall be made responsible for the posts, as some of the posts are drafted from other sources and some out of my information gathering from i-Net
Monday, October 30, 2006
Century
Hey, with the last post i've completed 100 postings... what a great slow start.. let's see where will i go with what accelaration... it's party time ...
.NET Framework 3.0 Website
Friday, October 27, 2006
MSDN New look
At the welcome page of MSDN Library, there is a new link redirecting to the new look and feel for the MSDN Libraray.
Anyhow, as New always interesting, this new look is also eye-catchy. Did you see that ?
Anyhow, as New always interesting, this new look is also eye-catchy. Did you see that ?
Orcus Forums
Recently a new forum is being initiated at Microsoft MSND Forums with the title being, "Visual Studio Orcus"
Did you try this?
Did you try this?
Bolgs at MSDN by Tags
Do you know that you can reach people who blog on a specific topic at MSDNBlogs? There is a way, go to http://blogs.msdn.com/tags/
Here you see different topics and click on them to see, who blogs on that topic. Generally i have a feed to common blogs.msdn.com and from there read all posts that interest me.
Did you try this ?
Here you see different topics and click on them to see, who blogs on that topic. Generally i have a feed to common blogs.msdn.com and from there read all posts that interest me.
Did you try this ?
Tuesday, October 24, 2006
USING - C# Key word
I've been asking a question about this key word on every interview. Most of them think that this is used only to reference the base class, apart of that, there is also a great usage with this key word. This key word, USING, can be used to destroy the objects (automatically) when they are no longer required in the memory.
At times, the developer will forget to write the code to destroy the created objects. These objects pile up on system memory and wait for the GC to collect and clean them. How it would be if they are cleanned as soon they finish their requirement? That would be great coding and you are reducing the work for GC during the collection process.
Here is how to accomplish the same. First, implement the IDisposable interface on the object that you are planning to implement automatic collection and allow CLR to release the allocated memory as soon this object is no longer required.
class SmpCls: IDisposable
{
void IDisposable.Dispose()
{
Console.WriteLine("Disposing the object and cleaning");
}
public string RetHelo()
{
return "Hello World!! Happy coding ..";
}
}
While creating the object out of this class do the following way. Implement the object in the following code.
using (SmpCls obj as new SmpCls())
{
.....
.....
}
One advantage by doing this is you never required to worry about GC active, clean and clear the heap .. blah, blah ..
What are your comments
At times, the developer will forget to write the code to destroy the created objects. These objects pile up on system memory and wait for the GC to collect and clean them. How it would be if they are cleanned as soon they finish their requirement? That would be great coding and you are reducing the work for GC during the collection process.
Here is how to accomplish the same. First, implement the IDisposable interface on the object that you are planning to implement automatic collection and allow CLR to release the allocated memory as soon this object is no longer required.
class SmpCls: IDisposable
{
void IDisposable.Dispose()
{
Console.WriteLine("Disposing the object and cleaning");
}
public string RetHelo()
{
return "Hello World!! Happy coding ..";
}
}
While creating the object out of this class do the following way. Implement the object in the following code.
using (SmpCls obj as new SmpCls())
{
.....
.....
}
One advantage by doing this is you never required to worry about GC active, clean and clear the heap .. blah, blah ..
What are your comments
Monday, October 23, 2006
Encyclopedia for C#
Recently Micorsoft lanuched a single place for all C# related. It is called C# online.net, a portal similar like Wikipedia. A great initiative.
What do you say ?
What do you say ?
Monday, October 09, 2006
Phoenix & Microsoft
This year Microsoft celebrating its 15th Anniversary of it's Research wing. One among the next 15 yrs goal is Phoenix.
The description about the new product from Microsoft goes like this,
Isn't it curious to read about the information about the same?
The description about the new product from Microsoft goes like this,
Phoenix is the code name for a software optimization and analysis framework that is the basis for all future Microsoft compiler technologies
Isn't it curious to read about the information about the same?
Subscribe to:
Posts (Atom)