1 Replies - 8481 Views - Last Post: 28 October 2011 - 03:58 AM

#1 complete  Icon User is offline

  • D.I.C Head

Reputation: 0
  • View blog
  • Posts: 104
  • Joined: 12-April 07

Is using Stacks (the data collection class) allowed in Silverlight?

Posted 28 October 2011 - 01:35 AM

Is using Stacks (the data collection class) allowed in Silverlight? I have used Stacks in my WPF c# application. But Visual Studio complains when I declare a Stack in my Silverlight APP. I need to use this class. Is there a substitute?
Is This A Good Question/Topic? 0
  • +

Replies To: Is using Stacks (the data collection class) allowed in Silverlight?

#2 janne_panne  Icon User is offline

  • WinRT Dev
  • member icon

Reputation: 429
  • View blog
  • Posts: 1,047
  • Joined: 09-June 09

Re: Is using Stacks (the data collection class) allowed in Silverlight?

Posted 28 October 2011 - 03:58 AM

In System.Collections.Generic namespace there is a generic Stack class.

vb:
Dim x As New System.Collections.Generic.Stack(Of Object)()

C#:
System.Collections.Generic.Stack<object> x = new System.Collections.Generic.Stack<object>();


Was This Post Helpful? 0
  • +
  • -

Page 1 of 1