Hi seriverma,
Refer below code of hash table.
The primitive data types are int, object, short, char, float, double, bool.
Code
C#
protected void Page_Load(object sender, EventArgs e)
{
object key1 = "Name";
object name = "Dharmendra";
object key2 = "Age";
object age = 31;
System.Collections.Hashtable ht = new System.Collections.Hashtable();
ht.Add(key1, name);
ht.Add(key2, age);
System.Collections.ICollection keys = ht.Keys;
string message = "";
foreach (string key in keys)
{
message += string.Format("{0} : {1}<br/>", key, ht[key]);
}
Response.Write(message);
}
VB.Net
Protected Sub Page_Load(ByVal sender As Object, ByVal e As EventArgs) Handles Me.Load
Dim key1 As Object = "Name"
Dim name As Object = "Dharmendra"
Dim key2 As Object = "Age"
Dim age As Object = 31
Dim ht As System.Collections.Hashtable = New System.Collections.Hashtable()
ht.Add(key1, name)
ht.Add(key2, age)
Dim keys As System.Collections.ICollection = ht.Keys
Dim message As String = ""
For Each key As String In keys
message += String.Format("{0} : {1}<br/>", key, ht(key))
Next
Response.Write(message)
End Sub
Screenshot
Dynamic load dll
https://stackoverflow.com/questions/18362368/loading-dlls-at-runtime-in-c-sharp
Multi thread
https://stackoverflow.com/questions/33484341/c-sharp-net-how-to-make-application-wait-until-all-threads-created-in-library
Inter-process communication
https://stackoverflow.com/questions/528652/what-is-the-simplest-method-of-inter-process-communication-between-2-c-sharp-pro