Show Menu
Cheatography

.NET Framework Fundamentals Cheat Sheet (DRAFT) by

Fundamentals of .NET framework 4.0 C++

This is a draft cheat sheet. It is a work in progress and is not finished yet.

Dictionary

Add(ke­y,val)
Adds the specified key and value
Clear()
Removes all keys and values
bool Contai­nsK­ey(key)
Is key in dictio­nary?
bool Remove­(key)
Removes key from dictionary
bool TryGet­Value (key,%val)
Gets the value associated with the specified key.

List

Count
Number of elements in list
Item[idx]
Get/set element at index
Add(val)
Adds elements to end of list
Clear()
Removes all elements from list
Contai­ns(val)
Is val in list?
Insert­(id­x,item)
Inserts element at index
 

Threading

Thread ^t = gcnew Thread(gcnew ThreadStart(&Foo::Bar));
t->Start();
t->Join();