# FreeConsole

```csharp
[DllImport("Kernel32.dll")][return: MarshalAs(UnmanagedType.Bool)]
public static extern bool FreeConsole(
   
);
```

Microsoft documentation: [Link](https://learn.microsoft.com/en-us/windows/console/freeconsole)
