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

  • Home
  • SEARCH
  • 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 7709497
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T00:52:38+00:00 2026-06-01T00:52:38+00:00

Currently, I am parsing some UNSTRUCTURED text and CONVERT IT TO THIS: Type1 Type1

  • 0

Currently, I am parsing some UNSTRUCTURED text and CONVERT IT TO THIS:

Type1
Type1 Description1 - Type1 Specification1
Type1 Description2 - Type1 Specification2
Type1 Description3 - Type1 Specification3
..more descriptions and specifications

Type2
Type2 Description1 - Type2 Specification1
Type2 Description2 - Type2 Specification2
Type2 Description3 - Type2 Specification3
..more descriptions and specifications

..more Types

etc.

It is a String – spaces and returns delimited.
Although it is easy to read, I understand that this is not efficient way to do this. It is also pretty hard to disassemble it back to initial components(type, description, specification)

My questions:

A. What would be the most efficient way to store this data in memory, and with possibility to save to disk (not in the database) ?

I was thinking about XML, but I never worked with it
and hardly understand it's structure; but if you think
that is the only right way to do it, I guess I would
have to work on it!

B. What would be the best way to present this data in winform , considering that there might be multiple types and multiple type definitions?

Here, I am not sure. I can continue using textbox, 
but it also does not seems to be the great way. 
Maybe generate HTML and then plug it in? Seems inefficient.
  • 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-06-01T00:52:39+00:00Added an answer on June 1, 2026 at 12:52 am

    A) Create a class that hold a description and a specification; not sure what it should be called.

    Create your own type class that has a list of the above class. (Try not to call it Type though, it would be confused with System.Type.)

    As for storing it on a disk, XML isn’t a bad idea, but it is simple enough that you can just put each Type on a single line in a file with a comma (or tab) separated list of description/specification pairs. XML is easier to read in plain text, but more work for a computer to process and will use more space on disk. I would use XML if there is a small amount of data, and I would consider the other options more if there is a lot of it and a person is rarely needing to look at the file.

    B) I would use a TreeView.

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

Sidebar

Related Questions

I am currently parsing some xml that looks like this <Rows> <Row MANUFACTURERID=76 MANUFACTURERNAME=Fondont
How are you currently parsing ISO8601 dates e.g. 2010-02-23T23:04:48Z in JavaScript? Some browsers return
I'm currently using json-framework and need some help though parsing some JSON i'm getting
I am currently doing some XML parsing and I've chosen to use Hpricot because
I'm currently writing a function for parsing some HTML and adding tags where necessary.
I'm doing some recursive parsing. Currently I have a fake stack, where I store
I am currently parsing some HTML code and I would like to put in
I am currently working on an application which is parsing some JSON data in
I am currently parsing some C# scripts that are stored in a database, extracting
I am currently trying to add some parsing methods to a controller method in

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.