G
GIAC Secure Software Programmer - C#.NET
485 Questions
Question No. 1
You work as an Enterprise Application Developer for ABC Inc. The company uses Visual Studio
.NET as its application development platform. You create a Windows client application that communicates with a business layer component using the .NET Framework. The business layer component includes a class named MyUtility as follows:
public class MyUtility
{
public MyUtility() { }
public void ChangeData() { }
}
The application must fulfill the following criteriA.
l Create instances of the MyUtility class only within the business component.
l The application should invoke the functions within the MyUtility class.
You evaluate the code of the MyUtility class and decide it requires modification. Which of the
following modifications for the code will you recommend?
Choose the correct option from the given list.
01 / 485