This explains the different ways of writing comments in Microsoft C#.Net
1) // - This is used for single line comments.
If you want to write a comment and if it spans just a single line, you can simple use this one as shown below:
EX: //This is just a sample comment
2) /*
*/ - This is used for multiple lines comments.
If you want to write a lengthy comment which might span out in multiple lines, then you can use this as show below.
EX: /* this is comment
explaining to write
in multiple lines
*/
3) /// - This is used for XML Documentation comments
This is used to write XML documentation for the code.
EX: ///This is a summary explanation of the method
Santhosh N's Blog
Developer Blog
Saturday, April 23, 2011
Different ways of writing Comments in C#
Thursday, March 17, 2011
How England fared till now in ICC World Cup 2011
I would begin with what we saw with almost all England matches thus far in this ICC World Cup 2011 - Crunch Moments, Comedy of errors, nervy moments, Winning crucial moments on Best Sides but not on Minnows.
What matches did England win?
They won on South Africa, West Indies and of course Netherlands but they lost to So-called great Teams Of the Tournament - Ireland and Bangladesh.
Interestingly, they might be making a statement that they would not concentrate on so called under dogs teams in this competition. However, they are confused whether to concentrate or not on Mighty Indians and they drew with them :)
What we are going to witness in the Knock out stages if they manage to go there, still Bangladesh match against South Africa being crucial in a sense, if South Africa decides to knock one good Team out of the competition from early stages they could play lightly.
Yes, you heard correctly, play lightly to send one Team out, how?
Lose the match on Bangladesh and make them to the next stages and one among India, England and West Indies will be out of the Tournament in the early stages.
Lets see whats in fate for the England and of course remaining Teams over the next 3 days, till then stay tuned and enjoy the Game of Cricket.
What matches did England win?
They won on South Africa, West Indies and of course Netherlands but they lost to So-called great Teams Of the Tournament - Ireland and Bangladesh.
Interestingly, they might be making a statement that they would not concentrate on so called under dogs teams in this competition. However, they are confused whether to concentrate or not on Mighty Indians and they drew with them :)
What we are going to witness in the Knock out stages if they manage to go there, still Bangladesh match against South Africa being crucial in a sense, if South Africa decides to knock one good Team out of the competition from early stages they could play lightly.
Yes, you heard correctly, play lightly to send one Team out, how?
Lose the match on Bangladesh and make them to the next stages and one among India, England and West Indies will be out of the Tournament in the early stages.
Lets see whats in fate for the England and of course remaining Teams over the next 3 days, till then stay tuned and enjoy the Game of Cricket.
Wednesday, February 23, 2011
Google Doc Viewer Supports almost all Major Microsoft Office Document Types
Google Doc Viewer is certainly helping online community with its Google Doc Viewer, which help us to create, share, and open the Documents right from Doc Viewer instead of saving them locally and then open using Microsoft Office or Open Office software.
Google Doc Viewer announced new file types that it supports which include major file types (from Microsoft Office, Adobe, etc):
1) Microsoft Excel (Both .XLS and .XLSX)
2) Microsoft PowerPoint (Both 2007 and 2010 format, .PPTX)
3) Adobe Illustrator (.AI)
4) Adobe Photoshop (.PSD)
5) Autodesk AutoCad (.DXF)
6) Scalable Vector Graphics (.SVG)
7) PostScript (.EPS, .PS)
8) TrueType (.TTF)
9) XML Paper Specification (.XPS)
10) Apple Pages (.PAGES)
In addition to these, already Google Doc Viewer supports other formats like .Doc, .PDF, .Txt, etc.
Now, right from your gmail, you can access these files as attachments which can be directly viewed using the Google Doc Viewer. These file types from now onwards show with 'View' link which brings up the Doc Viewer in the browser to open right there.
Google Doc Viewer announced new file types that it supports which include major file types (from Microsoft Office, Adobe, etc):
1) Microsoft Excel (Both .XLS and .XLSX)
2) Microsoft PowerPoint (Both 2007 and 2010 format, .PPTX)
3) Adobe Illustrator (.AI)
4) Adobe Photoshop (.PSD)
5) Autodesk AutoCad (.DXF)
6) Scalable Vector Graphics (.SVG)
7) PostScript (.EPS, .PS)
8) TrueType (.TTF)
9) XML Paper Specification (.XPS)
10) Apple Pages (.PAGES)
In addition to these, already Google Doc Viewer supports other formats like .Doc, .PDF, .Txt, etc.
Now, right from your gmail, you can access these files as attachments which can be directly viewed using the Google Doc Viewer. These file types from now onwards show with 'View' link which brings up the Doc Viewer in the browser to open right there.
Monday, February 14, 2011
Font Microsoft used for Window 7 GUI
Microsoft Used Segoe UI font with size of 9 for Windows 7 Operating System for normal text. And the reason for selecting this font is purely from user point of view as the font is very clear to read when ClearType is enabled. Cleartype is however, enabled by default in Windows Operating System.
The blue colored text from below image is the font which I am talking about which Microsoft used for Windows 7 GUI.
As Per the Microsoft Windows User Experience Interaction Guidelines (of over 800 pages) this is what it says (an excerpt from it)
Segoe UI is an approachable, open, and friendly typeface, and as a result has better readability than Tahoma, Microsoft Sans Serif, and Arial.
Segoe UI is optimized for ClearType, which is on by default in Windows. With ClearType enabled, Segoe UI is an elegant, readable font. Without ClearType enabled, Segoe UI is only marginally acceptable. This factor determines when you should use Segoe UI.
The blue colored text from below image is the font which I am talking about which Microsoft used for Windows 7 GUI.
As Per the Microsoft Windows User Experience Interaction Guidelines (of over 800 pages) this is what it says (an excerpt from it)
Segoe UI is an approachable, open, and friendly typeface, and as a result has better readability than Tahoma, Microsoft Sans Serif, and Arial.
Segoe UI is optimized for ClearType, which is on by default in Windows. With ClearType enabled, Segoe UI is an elegant, readable font. Without ClearType enabled, Segoe UI is only marginally acceptable. This factor determines when you should use Segoe UI.
Friday, November 12, 2010
Facebook into email service
There is some important news on Facebook’s new development which is predominantly known for the Social Networking. Facebook could launch a new e-mail service this coming Monday as per the news reports. This could really be interesting news especially for the ones who are following the rivalry between Facebook and Google in the recent past.
As per the news reports, the new mail could be ‘@facebook.com’ which potentially could make all its users, who are about 500 million members to access the new e-mail service. They had plans to integrate this with Office online services of another giant, Microsoft.
The first to report this new development came from TechCrunch citing the new full blown e-mail service developments in Facebook.
As many of us aware of the news about Google recently cut the access to Facebook for its e-mail product preventing importing of Gmail address books, this could still further intense the rivalry between the two.
As per the news reports, the new mail could be ‘@facebook.com’ which potentially could make all its users, who are about 500 million members to access the new e-mail service. They had plans to integrate this with Office online services of another giant, Microsoft.
The first to report this new development came from TechCrunch citing the new full blown e-mail service developments in Facebook.
As many of us aware of the news about Google recently cut the access to Facebook for its e-mail product preventing importing of Gmail address books, this could still further intense the rivalry between the two.
Labels:
address book,
e-mail,
Facebook,
facebook.com,
Google,
Microsoft,
news,
product,
TechCrunch,
users
Subscribe to:
Posts (Atom)
