Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

c# queue and objects

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    c# queue and objects

    I know this is not an NT question, I hope some kind person can help me.

    I have a queue of variable length that is cast into using double

    I want to make a double array from this.

    object[] AskDurArray=AskDuration.ToArray();

    As it is of variable length I cant use the copyto command

    And Clone as far as i have read wont be correct either.

    Toarray declares an object.

    How do I get this to a double array without looping each element?

    Many thanks

    Tinkerz

    #2
    Perhaps this link will help you get started in the right direction - http://dotnetperls.com/queue

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by CaptainJack, 05-29-2026, 05:09 AM
    0 responses
    476 views
    0 likes
    Last Post CaptainJack  
    Started by CaptainJack, 05-29-2026, 12:02 AM
    0 responses
    317 views
    0 likes
    Last Post CaptainJack  
    Started by charlesugo_1, 05-26-2026, 05:03 PM
    0 responses
    254 views
    1 like
    Last Post charlesugo_1  
    Started by DannyP96, 05-18-2026, 02:38 PM
    1 response
    340 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 05-11-2026, 05:56 AM
    0 responses
    305 views
    0 likes
    Last Post CarlTrading  
    Working...
    X