# RE: Application won't compile with an error

**URL:** <https://forum.codewithmosh.com/t/re-application-wont-compile-with-an-error/22005>\
**Category:** Uncategorized\
**Created:** [August 13, 2023, 1:02pm UTC](https://forum.codewithmosh.com/t/re-application-wont-compile-with-an-error/22005 "2023-08-13T13:02:13Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sahar](https://avatars.discourse-cdn.com/v4/letter/s/ea5d25/32.png) [@Sahar](https://forum.codewithmosh.com/u/Sahar)\
**Post date:** [August 13, 2023, 1:02pm UTC](https://forum.codewithmosh.com/t/re-application-wont-compile-with-an-error/22005/1 "2023-08-13T13:02:13Z")

</div>

> [@Application won't compile with an error](https://forum.codewithmosh.com/t/application-wont-compile-with-an-error/17861/4):
>
> Hi Your code is faulty. This is how it appears in VS Code after a first pass of indenting [image] This cannot work. You input 2 method signatures for only one scope. Where is the main() method body? What about Execrcise1()? I made an example of your code working [@.NET Fiddle](https://dotnetfiddle.net/CdMd4X). Cheers
