Tuesday, March 25, 2008

Clearing StringBuilder

There are 3 ways to clear the string builder object.
They are

1. dummyStringBuilder.Remove(0,dummyStringBuilder.Length);
2. string theString = dummyStringBuilder.ToString();
dummStringBuilder.Replace(theString,"");
This method of clearing the string builder is expensive.
3.dummyStringBuilder.Length = 0;

Sunday, March 2, 2008

.NET 3.5 Features

I was reading the blogs on various features of .NET 3.5. SCOTT GU has published a posting on his blog about LISTVIEW control of ASP.NET. The posting covers almost all of the ASP.NET 3.5 features. Please follow this link for the posting.

The posting explains briefly about some of the latest features of ASP.NET 3.5 like

1. CSS manager
2. ListView Control
3. DataPager

Coaching - Identification of Coaching Needs

In an industrialized world, it had become responsibilities of the supervisors to coach the employees to achieve their full potential. Coaching should bring out the inherent potential of the employee and maximize their performance.

The coach/supervisor has to understand and gauge the performance of the employee and derive a suitable coaching/training plan that will enable the employee to efficiently perform the job assigned. The success of the coaching process depends on various parameters like,

1. What would be the return on investment(ROI) of coaching
2. How well the supervisor weighs the employee’s performance
3. How well the supervisor understands where the employee needs to improve the skill sets.
4. What are the potential benefits achieved by coaching/training the employee
5. How well the coach stresses on the purpose of coaching is to improve the skill set. A fairly equal amount of stress should be given to point out errors/mistakes and provide guidance to correct them.

"Employees at Nortel Networks estimate that coaching earned the company a 529 percent "return on investment and significant intangible benefits to the business," according to calculations prepared by Merrill C. Anderson, a professor of clinical education at Drake University." -Psychology Today