Mega Code Archive
Search
.Net
ASP .Net
ASP .Net Tutorial
C#
C# Book
C# by API
C# Tutorial
VB.Net
VB.Net by API
VB.Net Tutorial
Visual C++ .Net
VisualBasic Script
Java
Java
Java Book
Java by API
Java Tutorial
Script
Flash ActionScript
Flex
JavaScript DHTML
JavaScript Reference
JavaScript Tutorial
Database
MSSQL
MSSQL Tutorial
MySQL
MySQL Tutorial
Oracle PLSQL
Oracle PLSQL Tutorial
PostgreSQL
Languages
Android
C
C Tutorial
C++
C++ Tutorial
Delphi
Perl
PHP
Python
Python Tutorial
Ruby
Silverlight
Office
MSOfficeExcel 2007 Tutorial
MSOfficePowerPoint 2007 Tutorial
MSOfficeWord 2007 Tutorial
Data
XML
XML Tutorial
C# Tutorial
Unsafe 26 codes
Home
C# Tutorial
Unsafe
1 Accessing Structure Members with a Pointer
2 Alloate a chuck on the stack
3 An array name with an index yields a pointer to the start of the array
4 Assign value of myInt using pointer
5 C# Pointer Operators
6 Compile unsafe code
7 Declaring a Pointer
8 Demonstrate the effects of pointer arithmethic
9 Fixing Managed Data in Memory
10 Get a pointer to the start of a string and display the contents of string via pointer
11 Index pointer
12 IntPtr Zero
13 IntPtrs and unsafe bit-twiddling
14 Mark method as unsafe to pointers
15 Modifying an Immutable String with Pointer
16 Pointer Arithmetic
17 Pointer of a pointer
18 Safe Swap
19 The & is a unary operator that returns the memory address of its operand
20 Unsafe block
21 Unsafe Code
22 Unsafe Methods
23 Unsafe swap
24 Use fixed to put address of value into a pointer
25 Using the unsafe keyword
26 Using unsafe and fixed