Answer: unsafe modifier is used to denote unsafe context which is generally required for some pointer operations. Example,
public unsafe void Function() // unsafe Method
{
int x, y; // unsafe context
..........; // we can use pointers here.
}
Asked In: Spotted While Learning |
Alert Moderator