O'Reilly logo

C# in a Nutshell by Peter Drayton, Ted Neward, Ben Albahari

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Name

Void

Synopsis

This structure indicates that a method does not return any information, as in public void Main(). This type is available in C# through the void alias.

public struct Void {
// No public or protected members
}

Hierarchy

ObjectValueTypeVoid

Returned By

Multiple types

Passed To

ArgIterator.ArgIterator(), IntPtr.IntPtr(), System.Reflection.Pointer.Box(), UIntPtr.UIntPtr()

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required