Browse by Tags

Related Posts

  • Problems with runtime specification of generic type T in User Control

    Hi, I have a web user control that needs to populate itself using a generic object. The type of that generic object will need to be passed into the user control using a parameter. The code I have tried is as follows, but the compiler fails stating: the type arguments for method 'GetQuestion<T>...
    Posted to Architecture (Forum) by cchamberlain1976 on 11-14-2008, 12:00 AM
    Filed under: C#, Generics, User Control
  • Re: generics, inheritance ..... frustrated

    I was annoyed about it too. Apparently also some Microsoft people was, so at least they made a convertion function you can call, ConvertAll(), but you have to implement a convert function yourself. See this post: http://rasor.wordpress.com/2008/08/19/cast-a-generic-list-c/ The code would be more readable...
    Posted to Visual Basic .NET (Forum) by rasor on 08-27-2008, 12:00 AM
    Filed under: vb.net2.0, Visual Basic .NET, .NET, c#, collections, Generics, lists, generic collections
  • Exception during multi-thread operation with generic Dictionary - can I double-check lock on ContainsKey?

    NET 2.0, C#. I have a (relatively simple) class that is exhibiting a (not so simple) problem when calling a (simple) method. The error is thrown during multi-threaded testing. It is thrown internally to the Dictionary<TKey, TVal> class in the FindEntry (from ContainsKey) method of the generic dictionary...
    Posted to C# (Forum) by AGBrown on 02-12-2007, 12:00 AM
    Filed under: Multi-threading, System.IndexOutOfRangeException, C#, Generic Dictionary, Generics
  • URGENT PLEASE HELP ME (MY JOB IS HANKING) A windows application dought in using Microsoft.office.introp.word.dll(word conversion from us to uk)

    Dear friend, Dear friend, I am a trainee software egg in one of a reputed company, I have got my first R&d from my project manager to develop a tool for AUTOMATICALLY converting US English to UK English using Microsoft.Office.Interop.Word but tried my level best to do that but I failed and my competitor...
    Posted to Free For All (Forum) by fijsolam1981 on 12-14-2006, 12:00 AM
    Filed under: Objects, online judge Process memory running time, reflection, Reflection Interface Assembly, RMO, sorting, String Manipulation - Dates, System.Drawing.Imaging, System.IO.Compression, TryParse, .net C# jobs, binary image, C#, C# Compiler VB.Net, Classes, dynamic reflection, GZip, icq, Image Manipulation, IsNullOrEmpty, GDI+, collection, Generics, Webservice
  • problem with generics

    i am having public class studentCollection:Collection <studentCollection> { //constructer public studentCollection(): base(new List<student>()) { } gives me error 1 Error 3 The best overloaded method match for 'System.Collections.ObjectModel.Collection<C.Bl.studentCollection>.Collection...
    Posted to C# (Forum) by sansat6699 on 09-14-2009, 12:00 AM
    Filed under: Generics, architecture, C#, asp .net 3.5
  • Re: Native query for deleting objectings in an ASP-project

    You more than likely need this: using System.Collections.Generic; Without it IList is System.Collections.IList instead of System.Collections.Generics.IList
    Posted to Other Databases (Forum) by david@davidlwalker.com on 05-01-2008, 12:00 AM
    Filed under: C#, Generics, .NET
  • Re: inheriting abstract class, type parameter with constraint

    perfect - much kudos to you norbert
    Posted to C# (Forum) by boogee on 01-30-2007, 12:00 AM
    Filed under: Objects, abstract, C#, Classes, inheritance, parameter, constraint, Generics
Page 1 of 1 (7 items)