diff --git a/Examples/Example/Example.cs b/Examples/Example/Example.cs index de89c45a9..f4738504d 100644 --- a/Examples/Example/Example.cs +++ b/Examples/Example/Example.cs @@ -1,4 +1,5 @@ -// A simple Terminal.Gui example in C# - using C# 9.0 Top-level statements +#nullable enable +// A simple Terminal.Gui example in C# - using C# 9.0 Top-level statements // This is a simple example application. For the full range of functionality // see the UICatalog project diff --git a/Examples/FluentExample/Program.cs b/Examples/FluentExample/Program.cs index de7d8aaa3..52184adda 100644 --- a/Examples/FluentExample/Program.cs +++ b/Examples/FluentExample/Program.cs @@ -1,3 +1,4 @@ +#nullable enable // Fluent API example demonstrating IRunnable with automatic disposal and result extraction using Terminal.Gui.App; diff --git a/Examples/RunnableWrapperExample/Program.cs b/Examples/RunnableWrapperExample/Program.cs index e0d423819..9c16a26ef 100644 --- a/Examples/RunnableWrapperExample/Program.cs +++ b/Examples/RunnableWrapperExample/Program.cs @@ -1,3 +1,4 @@ +#nullable enable // Example demonstrating how to make ANY View runnable without implementing IRunnable using Terminal.Gui.App;