Home
|
Tutorial
|
Articles
|
Forum
|
Interview Question
|
Code Snippets
|
News
|
Fun Zone
|
Poll
|
Web Links
|
Certification
|
Search
Welcome :
Guest
Sign In
Register
Win Surprise Gifts!!!
Congratulations!!!
Top 5 Contributors of the Month
satyapriyanayak
Narayanan
JQuery Developer
Karthikeyan Anbarasan
Amit Mehra
Home
>>
Interview Question
>>
.NET Framework
>>
Post New Question
Subscribe to Interview Questions
what is string collection?
Posted By :
Narayanan
Posted Date :
December 14, 2011
Points :
40
Category :
.NET Framework
Realizable collection of string.
You can also find related Interview Question to
what is string collection?
below:
What is Garbage Collection in .Net? Garbage collection process?
The process of transitively tracing through all pointers to actively used objects in order to locate all objects that can be referenced, and then arranging to reuse any heap memory that was not found during this trace. The common language runtime garbage collector also compacts the memory that is in use to reduce the working space needed for the heap.
(More...)
What is the difference between Finalize and Dispose (Garbage collection)
Class instances often encapsulate control over resources that are not managed by the runtime, such as window handles (HWND), database connections, and so on. Therefore, you should provide both an explicit and an implicit way to free those resources. Provide implicit control by implementing the protected Finalize Method on an object (destructor syntax in C# and the Managed Extensions for C++). The garbage collector calls this method at some point after there are no longer any valid references to the object.
In some cases, you might want to provide programmers using an object with the ability to explicitly release these external resources before the garbage collector frees the object. If an external resource is scarce or expensive, better performance can be achieved if the programmer explicitly releases resources when they are no longer being used. To provide explicit control, implement the Dispose method provided by the IDisposable Interface. The consumer of the object should call this method when it is done using the object. Dispose can be called even if other references to the object are alive.
Note that even when you provide explicit control by way of Dispose, you should provide implicit cleanup using the Finalize method. Finalize provides a backup to prevent resources from permanently leaking if the programmer fails to call Dispose.
(More...)
C# provides a default constructor for me. I write a constructor that takes a string as a parameter, but want to keep the no parameter one. How many constructors should I write?
The answer is TWO of the above questions
(More...)
To create a string literal exclude escape sequence
@string. With adding @ at the beginning you can escape literal
(More...)
String is an...........
String is an Object Type. where other data types are reference type in .NET
(More...)
Where do you store connection string?
Database connection string can be stored in the web config file.
The connection string can be stored in the WEB.Config file under
element.
(More...)
What are the collection classes?
Queue, Stack, BitArray, HashTable, LinkedList, ArrayList, Name ValueCollection, Array, SortedList, HybridDictionary, ListDictionary, StringCollection, StringDictionary
(More...)
What does connection string consist of?
The connection string consists of the following parts:
In general:
Server: Whether local or remote.
Uid: User Id (sa-in sql server)
Password: The required password to be filled-in here
Database: The database name.
(More...)
What are the collection classes?
The .NET Framework provides specialized classes for data storage
and retrieval.
These classes provide support for stacks, queues, lists, and hash tables.
(More...)
Difference between String.Empty and ""
The main difference is lies on memory management.
String.Empty will not create any object of string where as "" (Double Quote or Empty Quote) will create a new object in the memory for the checking the objects.
(More...)
Quick Links For Interview Questions Categories:
ASP.Net
Windows Application
.NET Framework
C#
VB.Net
ADO.Net
Sql Server
SharePoint
Silverlight
OOPs
JQuery
JavaScript/VBScript
Biztalk
Patten/Practices
.IIS
WCF
WPF
WWF
Networking
Aptitude
Others
All
Find questions, FAQ's and their answers related to .NET, C#, Vb.Net, Sql Server and many more.
Now you can find lots of .NET, C#, Vb.Net, SQL Server,Windows, ASP.Net related Questions and their Answers here at www.dotnetspark.com. Our aim is to help you pass your certification Exams (MCP, MCSD, MCAD etc.,) with flying scores and get good name in your company.
So, Start looking our
Interview Question
section daily and improve your .NET Skills. You can also help others by posting Interview Questions and their Answers in this section.
Hall of Fame
Twitter
Terms of Service
Privacy Policy
Contact Us
Archives
Tell A Friend