Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6977537
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T17:38:17+00:00 2026-05-27T17:38:17+00:00

So i have few questions about .net application settings. I have added an application

  • 0

So i have few questions about .net application settings. I have added an application settings and i can add and remove settings but my question is is there a way to add a table of settings. For example i have in the settings file :

 NumberOfPrinetrs  int          4
 SomethingElse     string       dsffds

Is there a way to add

Printer1
    location string xxxxx
    number   int    xxxxx

Printer2
    location string xxxxx
    number   int    xxxxx

and another question is it possible to add additional settings at runtime and if it is possible how?

Thanks for all the help in advance and Merry Christmas to all!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T17:38:18+00:00Added an answer on May 27, 2026 at 5:38 pm

    You could separate your values with a ‘,’ and ‘;’ and then parse them when reading.

    In such a way you can still access them like your normal NumberOfPrinters and SomethingElse values.

    I would create a wrapper class that handles this for you and that you can use every time you need some printer information.

    <key="Printers" value="Printer1,location,number;Printer2,location,number"/>
    

    Your wrapper class would then expose a list(or dictionary) of Printer objects with the properties Name, Location and Number.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a few questions about cross-page posting in ASP.NET: What is cross-page posting
There have been several questions over the past few days about the proper use
I ultimately have two areas with a few questions each about Entity Framework, but
I have a few questions about data synchronization. The architecture does not seem to
I have a few questions about Xcode and interaction with GCC 4.2.1: It doesn't
I have a few questions about this after reading the iPhone documentation on it:
I have a few questions about Core Location. 1) Should the user refuse permission
I have a few quick questions about the Microsoft Detours Library. I have used
I've been hearing about triggers, and I have a few questions. What are triggers?
I have been trying to optimize an ASP.NET C# application for a few days

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.