11

I'm developing a windows application with C# . I need to add some comments into Application settings ( App.config ) Here is my App.config

<connectionStrings>
    <add name="SLTBillConnectionString" connectionString="Data Source=DESKTOP-BIJLHTG\Yuresh_SQL;Initial Catalog=SLTBillPaymentDB;Integrated Security=True" providerName="System.Data.SqlClient" />
</connectionStrings>

<appSettings>
    <add key="ScheduledTimeForNewDay" value="09" />
    <add key="KioskCode" value="0001" />
    <add key="IsMobitelPaymentEnable" value="false" />
    <add key="MaxChequeAmount" value="500000" />
    <add key="MinChequeAmount" value="10" />
</appSettings>
1
  • try html comment syntax <!-- comment --> Commented Nov 6, 2018 at 5:33

1 Answer 1

18

Same as HTML, try <!-- your comment -->

Sign up to request clarification or add additional context in comments.

1 Comment

It works ! Thank Ivien

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.