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 8502493
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T01:30:00+00:00 2026-06-11T01:30:00+00:00

im porting a solution to C# code, that contains a piece of code like

  • 0

im porting a solution to C# code, that contains a piece of code like this.

public object data = 
{

    Background:
    [
        [1.45,2.85, 42.6,2.85, 42.6,44, 1.45,44]
    ]
    ,
    Wall1:
    [
        [8.35,7.05, 116.3,7.05, 116.3,938.8, 8.35,938.8]
    ]
    ,
    Wall2:
    [
        [0,0, 141,0, 141,455, 0,455]
    ]
    ,
    Floor:
    [
        [0.35,8.4, 1075.05,8.4, 1075.05,48.15, 0.35,48.15]
    ]
    .... a lot of other declaration..

What is the best way do declare this kind of object in c#??

Thanks..

  • 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-11T01:30:01+00:00Added an answer on June 11, 2026 at 1:30 am

    IDictionary<string, object> would fit your solution if the contents are not known in advance. If direct structure is known, you can create a strongly-typed class for it, which will be easier to maintain and less-error prone, with the benefit of performance gain.

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

Sidebar

Related Questions

Porting code from 32bit to 64bit. Lots of places with int len = strlen(pstr);
I'm porting some WPF code to WinRT. The code uses System.Windows.Media.Animation.ParallelTimeline to syncrhonize two
We're porting a legacy Java app to JRuby and would like to reuse some
I'm porting an existing app to rails that makes extensive use of stylized anchors
We're looking for a solution that will allow us to use HTTPS without encryption.
I have a console app that I'm porting to WPF. The application has 3
I am porting some C code to a TI DSP chip environment. I'm grappling
I am porting a home-brew report Delphi reporting solution into FastReport and I've come
I'm porting a project over to Visual Studio and running into this problem. I
I'm porting my application from WPF to Silverlight. The biggest problem is that my

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.