Search
 
SCRIPT & CODE EXAMPLE
 

CSHARP

Generic Stack

public class Stack<T>
{
  int position;
  T[] data = new T[100];
  public void Push (T obj)  => data[position++] = obj;
  public T Pop()            => data[--position];
}
Comment

PREVIOUS NEXT
Code Example
Csharp :: c sharp async 
Csharp :: c# int division to double 
Csharp :: C# assigning image location 
Csharp :: c# switch when 
Csharp :: create class for database connection in c# 
Csharp :: c# for loops 
Csharp :: create enum from int c# 
Csharp :: narcissistic 
Csharp :: messagebox yes no c# 
Csharp :: c# 2d arrays 
Csharp :: crud operation in asp.net 
Csharp :: c# square symbol 
Csharp :: c# run a scheduled task 
Csharp :: entity framework id not auto increment 
Csharp :: list contains type c# 
Csharp :: send mail c# 
Csharp :: wpf dispatcher timer is inaccurate 
Csharp :: access server name or ip c# get 
Csharp :: wpf rounded button 
Csharp :: disable button netbeans 
Csharp :: blazor conditional reenreing 
Csharp :: c# fold sum array 
Csharp :: c # 
Csharp :: how to list all registered users asp net 
Csharp :: get link element revit api 
Csharp :: how to edit a c# list 
Csharp :: handle multiple threads c# 
Csharp :: class merging 
Csharp :: how to use a round image unity 
Csharp :: c# text to ascii 
ADD CONTENT
Topic
Content
Source link
Name
3+9 =