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
Object
→
ValueType
→
Void
Returned By
Multiple types
Passed To
ArgIterator.ArgIterator( )
,
IntPtr.IntPtr( )
,
System.Reflection.Pointer.Box( )
,
UIntPtr.UIntPtr( )
Get C# in a Nutshell, Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.