Prepare
Practice
Interview
Aptitude
Reasoning
English
GD
Placement
HR
Current affairs
Engineering
MCA
MBA
Online Test
Videos
Login
Csharp.NET 3 online test, online practice test, exam, quiz
Online Practice Test
>
Csharp.NET 3
Csharp.NET 3 Online Test
The purpose of this online test is to help you evaluate your Csharp.NET 3 knowledge yourself. These Multiple Choice Questions (MCQs) on Csharp.NET 3 will prepare you for technical round of job interview, written test and many certification exams.
The test contains 20 questions and there is no time limit. You will get 1 point for each correct answer. You will get your online test score after finishing the complete test.
(Total
20
questions)
(Time spent
0:0
)
1. Your company uses Visual Studio .NET as its application development platform. You are creating an application that uses SOAP to exchange data with other applications using the .NET Framework. You use a user defined class named SoapEx that inherits from the ArrayList class to send objects to another application. You need to ensure that the application serializes the user defined class object for transport by using SOAP. Which of the following code segments will you use to accomplish the required task?
SoapFormatter formatter = new SoapFormatter(); MemoryStream mstream = new MemoryStream(); formatter.Serialize(mstream, SoapEx);
SoapFormatter formatter = new SoapFormatter(); byte[] buf = new byte[SoapEx.Capacity]; MemoryStream mstream = new MemoryStream(buf); formatter.Serialize(mstream, SoapEx);
SoapFormatter formatter = new SoapFormatter(); byte[] buf = new byte[SoapEx.Capacity]; MemoryStream mstream = new MemoryStream(buf); Foreach (object o in SoapEx){formatter.Serialize(mstream, o);}
SoapFormatter formatter = new SoapFormatter(); MemoryStream mstream = new MemoryStream(); foreach (object o in SoapEx) { Formatter.Serialize(mstream, o); }
View Test Answer
Online Practice Test
ASP.NET (41)
ASP.NET (16)
ASP.NET (16)
ASP.NET for Freshers (19)
ASP.NET for Experienced (19)
ASP.NET (20)
ASP.NET (20)
ASP.NET (25)
ASP.NET (20)
ASP.NET (20)
ASP.NET (20)
ASP.NET (20)
Dot.Net (100)
.NET Framework (26)
.NET Caching (7)
.NET Remoting and webservices (10)
.NET Security (11)
ADO.NET (10)
C#.NET (25)
VB.NET (33)
DOT.NET (10)
C#.NET freshers (20)
C#.NET freshers (20)
C#.NET experienced (20)
C#.NET (25)
C#.NET (20)
Sharepoint (20)
Sharepoint 2007 (15)
WCF (50)
WPF (45)
MCQs
English
Tutorials
Download
Advertisement
▲