Search
Search titles only
By:
Search titles only
By:
Log in
Register
Search
Search titles only
By:
Search titles only
By:
Menu
Install the app
Install
Forums
New posts
All threads
Latest threads
New posts
Trending threads
Trending
Search forums
What's new
New posts
New ads
New profile posts
Latest activity
Free Ads
Latest reviews
Search ads
Members
Current visitors
New profile posts
Search profile posts
Contact us
Latest ads
Puffin Rock Characters Plush Toy Set
anil1961
Updated:
Saturday at 3:51 PM
Toyota Vitz scp10 For Sale
Lakmal Bandara
Updated:
Nov 4, 2026
Kandy
Welcome all my all new pet shop Bark.lk
dilumrane
Updated:
Nov 2, 2026
Windows RDP Only Rs.500 a month
Blogerwiki
Updated:
Nov 1, 2026
Ad icon
V2ray VPN for Tunneling
hu KANNA
Updated:
Oct 22, 2026
Electronics
Vehicles
Property
Search
Reply to thread
Forums
General
ElaKiri Help
C# Programing FAQ - Post here
Get the App
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Message
<blockquote data-quote="asachan" data-source="post: 4490366" data-attributes="member: 189916"><p></p><p></p><p></p><p>Macho there is a better option in C# than stack </p><p>It's List<> genaric type. </p><p>U can create anytupe of list using this</p><p></p><p><span style="font-family: 'Courier New'">List<string> lst = new List<string>;</span></p><p><span style="font-family: 'Courier New'"></span></p><p>and to add the records </p><p></p><p><span style="font-family: 'Courier New'">lst.Add(<what ever string u have>);</span></p><p></p><p>to loop through the list</p><p></p><p><span style="font-family: 'Courier New'">foreach(string str in lst){</span></p><p><span style="font-family: 'Courier New'"> // do anything u want with the str . it's a indexed string on the list. it's FIFO </span></p><p><span style="font-family: 'Courier New'">}</span></p><p><span style="font-family: 'Courier New'"></span></p></blockquote><p></p>
[QUOTE="asachan, post: 4490366, member: 189916"] [COLOR=Blue] [/COLOR] Macho there is a better option in C# than stack It's List<> genaric type. U can create anytupe of list using this [FONT=Courier New]List<string> lst = new List<string>; [/FONT] and to add the records [FONT=Courier New]lst.Add(<what ever string u have>);[/FONT] to loop through the list [FONT=Courier New]foreach(string str in lst){ // do anything u want with the str . it's a indexed string on the list. it's FIFO } [/FONT] [/QUOTE]
Insert quotes…
Verification
Hata thunen beduwama keeyada? (60 bedeema thuna)
Post reply
Top
Bottom