25 lines
451 B
C#
25 lines
451 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace Catamaran.CollectionGenericObjects
|
|
{
|
|
public interface ICollectionGenericObjects<T>
|
|
where T : class
|
|
{
|
|
int Count { get; }
|
|
|
|
int SetMaxCount { set; }
|
|
|
|
int Insert(T obj);
|
|
|
|
int Insert(T obj, int position);
|
|
|
|
T? Remove(int position);
|
|
|
|
T? Get(int position);
|
|
}
|
|
}
|