---
title: "Discussion on \"C# Preprocessor\" | Hashnode"
description: "Discussion on \"C# Preprocessor\". Error and Warning\n\n#error: Invoke compiler error with message\n\n#warning: Invoke compiler warning with message\n\n\n#warning This is warning\n#error This is error\n\nOutput\nBecause of error directive, dotnet build Program.cs will print below output.\n$ dotne..."
url: "https://hashnode.com/posts/c-preprocessor/63c6eb6e22757e03ca8cce5a"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [C# Preprocessor](https://archdsp.hashnode.dev/c-preprocessor?utm_source=hashnode&utm_medium=feed)

Error and Warning #error: Invoke compiler error with message #warning: Invoke compiler warning with message #warning This is warning #error This is error Output Because of error directive, dotnet build Program.cs will print below output. $ dotne...

Jan 17, 2023 · 1 min read · archdsp.hashnode.dev  
Updated May 17, 2023  
Read the article

-   [#csharp](https://hashnode.com/tag/csharp)
-   [#preprocessor](https://hashnode.com/tag/preprocessor)
-   [#syntax](https://hashnode.com/tag/syntax)
-   [#basics](https://hashnode.com/tag/basics)

## Written by

[arch dsp](https://hashnode.com/@archdsp)

@archdsp

  
[View profile](https://hashnode.com/@archdsp)

signal processing

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
