Improve your skills

May 23, 2017

Difference Between Response.Write() and Response.Output.Write()

Response.Write() and Response.Output.Write() both are used for print output on the screen.
But their are some differences between both of them-

Response.Write()
  1. Output is written in text stream.
  2. Response.Write() is used to display only string (Normal Text). It can't allows the formatted output.
  3. As Per Asp.Net 3.5, Response.Write() Has 4 overloads.
  4. We can't display any other data type values like int, date etc. Conversion(from one data type to another) is not allowed.
  5. Example:
    Response.Write("Hello ASP.NET");
    Response.Write("Current Date Time is " + DateTime.Now.ToString());

Response.Output.Write()

  1. Output is written in HTTP Output Stream.
  2. Response.Output.Write() is allows us to print formatted output. formatted output needs to argument based on which the output will be formatted.
  3. As Per Asp.Net 3.5, Response.Output.Write() has 17 overloads.
  4. We can display any type of data like int, date, string etc. by giving index values.
  5. Example: 
    Response.Output.Write("{0} is {1:d}", "Current Date Time is: ", DateTime.Now);





May 16, 2017

Mail Sent by Narayan Murthy to All Infosys Staff


1. If you are working more than 9 hr then don't need to join Infosys.
2. If you are working on Saturday and Sunday don't join Infosys (for IT).
3. Whatever time define in your task complete within time.

Fire all people who fall in criteria 1,2,3.

It’s half past 8 in the office but the lights are still on… PCs still running, coffee machines still buzzing… And who’s at work? Most of them ??? Take a closer look…

All or most specimens are ?? Something male species of the human race…
Look closer… again all or most of them are bachelors…
And why are they sitting late? Working hard? 
No way!!! 
Any guesses??? 
Let’s ask one of them… 
Here’s what he says… ‘What’s there 2 do after going home…Here we get to surf, AC, phone, food, coffee that is why I am working late…Importantly no bossssssss !!!!!!!!!!!’

This is the scene in most research centers and software companies and other off-shore offices.
Bachelors ‘Passing-Time’ during late hours in the office just because they say they’ve nothing else to do… Now what r the consequences…

‘Working’ (for the record only) late hours soon becomes part of the institute or company culture.
With bosses more than eager to provide support to those ‘working’ late in the form of taxi vouchers, food vouchers and of course good feedback, (oh, he’s a hard worker….. goes home only to change..!!). They aren’t helping things too…

To hell with bosses who don’t understand the difference between ‘sitting’ late and ‘working’ late!!!
Very soon, the boss start expecting all employees to put in extra working hours.

So, My dear Bachelors let me tell you, life changes when u get married and start having a family… office is no longer a priority, family is… and That’s when the problem starts… because you start having commitments at home too.

For your boss, the earlier ‘hardworking’ guy suddenly seems to become a ‘early leaver’ even if u leave an hour after regular time… after doing the same amount of work.

People leaving on time after doing their tasks for the day are labelled as work-shirkers…
Girls who thankfully always (its changing nowadays… though) leave on time are labelled as ‘not up to it’. All the while, the bachelors pat their own backs and carry on ‘working’ not realizing that they r spoiling the work culture at their own place and never realize that they would have to regret at one point of time.

So what’s the moral of the story??
* Very clear, LEAVE ON TIME!!!
* Never put in extra time ‘ unless really needed ‘
* Don’t stay back unnecessarily and spoil your company work culture which will in turn cause inconvenience to you and your colleagues.

There are hundred other things to do in the evening..
Learn music…..
Learn a foreign language…
Try a sport… Table Tennis, Cricket………..
Importantly, get a girl friend or boy friend, take him/her around town…
* And for heaven’s sake, net cafe rates have dropped to an all-time low (plus, no fire-walls) and try cooking for a change.

Take a tip from the Smirnoff ad: *’Life’s calling, where are you??’*
Please pass on this message to all those colleagues and please do it before leaving time, don’t stay back till midnight to forward this!!!

IT’S A TYPICAL INDIAN MENTALITY THAT WORKING FOR LONG HOURS MEANS VERY HARD WORKING & 100% COMMITMENT ETC.

PEOPLE WHO REGULARLY SIT LATE IN THE OFFICE DON’T KNOW TO MANAGE THEIR TIME. SIMPLE !

Regards,
NARAYAN MURTHY.





Subscribe for Latest Update

Popular Posts