Click here to Skip to main content
15,888,461 members
Home / Discussions / C#
   

C#

 
AnswerRe: Reflection and Generics (List) Pin
Giorgi Dalakishvili15-Sep-07 4:03
mentorGiorgi Dalakishvili15-Sep-07 4:03 
GeneralRe: Reflection and Generics (List) Pin
Vertyg015-Sep-07 4:23
Vertyg015-Sep-07 4:23 
GeneralRe: Reflection and Generics (List) Pin
Giorgi Dalakishvili15-Sep-07 4:34
mentorGiorgi Dalakishvili15-Sep-07 4:34 
GeneralRe: Reflection and Generics (List) Pin
Vertyg015-Sep-07 4:44
Vertyg015-Sep-07 4:44 
GeneralRe: Reflection and Generics (List) Pin
Giorgi Dalakishvili15-Sep-07 5:02
mentorGiorgi Dalakishvili15-Sep-07 5:02 
GeneralRe: Reflection and Generics (List) Pin
Vertyg015-Sep-07 4:59
Vertyg015-Sep-07 4:59 
GeneralRe: Reflection and Generics (List) Pin
Giorgi Dalakishvili15-Sep-07 5:03
mentorGiorgi Dalakishvili15-Sep-07 5:03 
Questionhelp to covert this to generic code... [modified] Pin
arbrsoft15-Sep-07 1:55
arbrsoft15-Sep-07 1:55 
//code is like this...

[XmlRoot("AutoupData")]
public class AutoupData
{
private ArrayList VersionArray;

public AutoupData()
{
VersionArray = new ArrayList();
}

[System.Xml.Serialization.XmlElement("versionInfo")]
public VersionC[] VersionInfos
{
get
{
VersionC[] VersionInfos = new VersionC[VersionArray.Count];
VersionArray.CopyTo(VersionInfos);
return VersionInfos;
}
set
{
if (value == null) return;
VersionC[] VersionInfos = (VersionC[])value;
VersionArray.Clear();
foreach (VersionC Versioninfo in VersionInfos)
VersionArray.Add(Versioninfo);
}
}
public int AddItem(VersionC VersionInfo)
{
return VersionArray.Add(VersionInfo);
}
}

public class VersionC
{
[XmlAttribute("version")]
public float version;
public VersionC()
{
}

public VersionC(float Version)
{
version = Version;
}
}

//code end...

is this using boxing and unboxing?
if it does then how can I convert this code to generic one?
I'm trying hard but the concept is so difficult to me.
please help me.
thanks.



AnswerRe: help to covert this to generic code... Pin
Colin Angus Mackay15-Sep-07 2:05
Colin Angus Mackay15-Sep-07 2:05 
QuestionQuestion on streaming media file? Pin
Khoramdin15-Sep-07 1:45
Khoramdin15-Sep-07 1:45 
Questionole type field in database table pic to show in the c# Pin
Sonia Gupta15-Sep-07 0:58
Sonia Gupta15-Sep-07 0:58 
AnswerRe: ole type field in database table pic to show in the c# Pin
sulabh202015-Sep-07 1:40
sulabh202015-Sep-07 1:40 
GeneralRe: ole type field in database table pic to show in the c# Pin
Sonia Gupta15-Sep-07 1:44
Sonia Gupta15-Sep-07 1:44 
GeneralRe: ole type field in database table pic to show in the c# Pin
sulabh202015-Sep-07 1:48
sulabh202015-Sep-07 1:48 
GeneralRe: ole type field in database table pic to show in the c# Pin
Sonia Gupta15-Sep-07 2:06
Sonia Gupta15-Sep-07 2:06 
GeneralRe: ole type field in database table pic to show in the c# Pin
sulabh202015-Sep-07 2:12
sulabh202015-Sep-07 2:12 
GeneralRe: ole type field in database table pic to show in the c# Pin
Sonia Gupta15-Sep-07 2:18
Sonia Gupta15-Sep-07 2:18 
GeneralRe: ole type field in database table pic to show in the c# Pin
sulabh202015-Sep-07 2:23
sulabh202015-Sep-07 2:23 
GeneralRe: ole type field in database table pic to show in the c# Pin
Sonia Gupta15-Sep-07 2:26
Sonia Gupta15-Sep-07 2:26 
GeneralRe: ole type field in database table pic to show in the c# Pin
sulabh202015-Sep-07 2:37
sulabh202015-Sep-07 2:37 
GeneralRe: ole type field in database table pic to show in the c# Pin
sulabh202015-Sep-07 2:39
sulabh202015-Sep-07 2:39 
QuestionControls in c# Pin
sulabh202014-Sep-07 23:54
sulabh202014-Sep-07 23:54 
AnswerRe: Controls in c# [modified] Pin
Colin Angus Mackay15-Sep-07 0:00
Colin Angus Mackay15-Sep-07 0:00 
AnswerRe: Controls in c# Pin
Guffa15-Sep-07 0:28
Guffa15-Sep-07 0:28 
QuestionWorking When Window From Is Already Shown [modified] Pin
ytubis14-Sep-07 23:42
ytubis14-Sep-07 23:42 

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.