C# Block Statement({})

curly-braces-icon
In this chapter you will learn:

  • What is Block Statement in C#?
  • How to use Block Statement in C#?

The block statement is used to write multiple segments of program in logical group.

Example:

Summary

In this chapter you learned what is block statement in C#. In next chapter you will learn Empty statement in C#.



Leave a Reply

Your email address will not be published. Required fields are marked *