Search:

Type: Posts; User: m.scofield

Search: Search took 0.01 seconds.

  1. Can i have a generic indexer this[TKey key] property? it requiers only int why?

    public class MyDictionary<TKey, TValue> : MyIDictionary<TKey, TValue>
    {
    private object[] _items;
    //private int index = 0;
    public MyDictionary()
    {
    ...
  2. Thank you my friend, you really helped me

    Thank you my friend, you really helped me
  3. how to create a generic T object dynamically

    public T GetReposit<T>() where T : class {
    var result = default(T);
    if (typeof(T) == typeof(UserRepository))
    {
    result = new...
  4. what's wrong? how to send mail via console app?

    static void Main(string[] args)
    {
    Console.WriteLine("Mail To");
    MailAddress to = new MailAddress(Console.ReadLine());


    Console.WriteLine("Mail...
Results 1 to 4 of 6