Click here to Skip to main content
15,907,001 members
Home / Discussions / C#
   

C#

 
GeneralRe: Image and Viewport - Drag Move, Pixel Positons etc Pin
Shailesh Appukuttan17-Dec-07 21:31
Shailesh Appukuttan17-Dec-07 21:31 
Generalmember function or not C# Pin
tasumisra17-Dec-07 17:08
tasumisra17-Dec-07 17:08 
GeneralRe: member function or not C# Pin
CKnig17-Dec-07 18:31
CKnig17-Dec-07 18:31 
QuestionVS 2008 Walkthroughs on WPF? Pin
David Veeneman17-Dec-07 17:02
David Veeneman17-Dec-07 17:02 
GeneralRe: VS 2008 Walkthroughs on WPF? Pin
CKnig17-Dec-07 18:37
CKnig17-Dec-07 18:37 
GeneralRe: VS 2008 Walkthroughs on WPF? Pin
David Veeneman18-Dec-07 2:25
David Veeneman18-Dec-07 2:25 
GeneralRe: VS 2008 Walkthroughs on WPF? Pin
CKnig18-Dec-07 3:21
CKnig18-Dec-07 3:21 
GeneralRe: VS 2008 Walkthroughs on WPF? Pin
David Veeneman18-Dec-07 3:41
David Veeneman18-Dec-07 3:41 
GeneralRe: VS 2008 Walkthroughs on WPF? Pin
Paul Conrad24-Dec-07 19:57
professionalPaul Conrad24-Dec-07 19:57 
QuestionAny mapping tool for NHibernate ? Pin
imagic17-Dec-07 15:29
imagic17-Dec-07 15:29 
AnswerRe: Any mapping tool for NHibernate ? Pin
ekynox17-Dec-07 16:15
ekynox17-Dec-07 16:15 
AnswerRe: Any mapping tool for NHibernate ? Pin
Mark Churchill17-Dec-07 20:57
Mark Churchill17-Dec-07 20:57 
QuestionEnhanced Listbox Pin
tcsoccerman17-Dec-07 15:08
tcsoccerman17-Dec-07 15:08 
GeneralRe: Enhanced Listbox Pin
Anthony Mushrow17-Dec-07 15:35
professionalAnthony Mushrow17-Dec-07 15:35 
GeneralRe: Enhanced Listbox Pin
Luc Pattyn17-Dec-07 15:38
sitebuilderLuc Pattyn17-Dec-07 15:38 
GeneralRe: Enhanced Listbox Pin
tcsoccerman18-Dec-07 15:18
tcsoccerman18-Dec-07 15:18 
GeneralRecursively calling a generic method with runtime parameters Pin
Skippums17-Dec-07 12:38
Skippums17-Dec-07 12:38 
GeneralRe: Recursively calling a generic method with runtime parameters Pin
PIEBALDconsult17-Dec-07 16:14
mvePIEBALDconsult17-Dec-07 16:14 
QuestionHow to enter foreign key values to combobox Pin
AndrusM17-Dec-07 10:30
AndrusM17-Dec-07 10:30 
AnswerRe: How to enter foreign key values to combobox Pin
darkelv17-Dec-07 16:04
darkelv17-Dec-07 16:04 
GeneralReflection with Generic Lists [modified] Pin
DaveyM6917-Dec-07 9:23
professionalDaveyM6917-Dec-07 9:23 
GeneralRe: Reflection with Generic Lists Pin
Ed.Poore17-Dec-07 11:31
Ed.Poore17-Dec-07 11:31 
Hopefully this code will help you reflect on the problem (pun semi-intended):
using System;
using System.Collections.Generic;
using System.Text;
using System.Reflection;

namespace GenericReflection
{
	class Program
	{
		static void Main(string[] args)
		{
			List<int> intList = new List<int>();
			DisplayGenericInformation(intList);
		}

		static void DisplayGenericInformation(object genericObject)
		{
			DisplayGenericInformation(genericObject, 0);
		}
		static void DisplayGenericInformation(object genericObject, int indent)
		{
			Type genericObjectType = genericObject.GetType();
			WriteIndented(genericObjectType.Name, indent);
			foreach (Type argumentType in genericObjectType.GetGenericArguments())
			{
				WriteIndented(argumentType.Name, indent + 1);
				DisplayGenericInformation(argumentType, indent + 2);
			}
		}
		static void WriteIndented(string message, int indent)
		{
			while ((indent--) > 0)
			{
				Console.Write("  ");
			}
			Console.WriteLine(message);
		}
	}
}</int></int>


GeneralRe: Reflection with Generic Lists Pin
DaveyM6918-Dec-07 0:33
professionalDaveyM6918-Dec-07 0:33 
GeneralRe: Reflection with Generic Lists Pin
Ed.Poore18-Dec-07 10:04
Ed.Poore18-Dec-07 10:04 
GeneralRe: Reflection with Generic Lists Pin
DaveyM6918-Dec-07 11:18
professionalDaveyM6918-Dec-07 11:18 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.