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

C#

 
GeneralRe: How do i fix this mess!! Pin
Christian Graus28-Apr-08 23:58
protectorChristian Graus28-Apr-08 23:58 
GeneralRe: How do i fix this mess!! [modified] Pin
MarkB77728-Apr-08 18:56
MarkB77728-Apr-08 18:56 
GeneralRe: How do i fix this mess!! Pin
Christian Graus28-Apr-08 19:38
protectorChristian Graus28-Apr-08 19:38 
GeneralRe: How do i fix this mess!! Pin
MarkB77728-Apr-08 20:01
MarkB77728-Apr-08 20:01 
GeneralRe: How do i fix this mess!! Pin
Christian Graus28-Apr-08 20:33
protectorChristian Graus28-Apr-08 20:33 
AnswerRe: How do i fix this mess!! Pin
Harvey Saayman28-Apr-08 21:16
Harvey Saayman28-Apr-08 21:16 
GeneralRe: How do i fix this mess!! Pin
ketto28-Apr-08 23:05
ketto28-Apr-08 23:05 
GeneralRandomly Removing an Item from an Array Pin
Ian Uy28-Apr-08 16:22
Ian Uy28-Apr-08 16:22 
Good Day,

Say I have an array of numbers. For instance:
int[] myNumber = {1,11,21,42,32};

and I would like to randomly remove 2 items from that array. It is easy to implement, but mine was sort-of inefficient (I'm working with large arrays). So I'm asking for some advice.

Thanks. Big Grin | :-D

It is said that the most complex structures built by mankind are software systems. This is not generally appreciated because most people cannot see them. Maybe that's a good thing because if we saw them as buildings, we'd deem many of them unsafe.

GeneralRe: Randomly Removing an Item from an Array Pin
Paul Conrad28-Apr-08 16:24
professionalPaul Conrad28-Apr-08 16:24 
GeneralRe: Randomly Removing an Item from an Array Pin
Ian Uy28-Apr-08 20:15
Ian Uy28-Apr-08 20:15 
GeneralRe: Randomly Removing an Item from an Array Pin
PIEBALDconsult29-Apr-08 6:15
mvePIEBALDconsult29-Apr-08 6:15 
GeneralRe: Randomly Removing an Item from an Array Pin
Christian Graus28-Apr-08 18:12
protectorChristian Graus28-Apr-08 18:12 
QuestionProgramming to DataTables VS. Programming to type safe objects using generic interfaces? Pin
Steve Holdorf28-Apr-08 11:17
Steve Holdorf28-Apr-08 11:17 
GeneralRe: Programming to DataTables VS. Programming to type safe objects using generic interfaces? Pin
Pete O'Hanlon28-Apr-08 11:52
mvePete O'Hanlon28-Apr-08 11:52 
Generalcombining number and dateformating in one funcrtion Pin
stephan_00728-Apr-08 10:02
stephan_00728-Apr-08 10:02 
GeneralRe: combining number and dateformating in one funcrtion Pin
Gareth H28-Apr-08 10:35
Gareth H28-Apr-08 10:35 
GeneralRe: combining number and dateformating in one funcrtion Pin
PIEBALDconsult28-Apr-08 10:43
mvePIEBALDconsult28-Apr-08 10:43 
GeneralRe: combining number and dateformating in one funcrtion Pin
stephan_00728-Apr-08 10:54
stephan_00728-Apr-08 10:54 
GeneralRe: combining number and dateformating in one funcrtion Pin
PIEBALDconsult28-Apr-08 13:54
mvePIEBALDconsult28-Apr-08 13:54 
GeneralSystem.Timers.Timer Pin
geekfromindia28-Apr-08 9:11
geekfromindia28-Apr-08 9:11 
GeneralRe: System.Timers.Timer Pin
som.nitk28-Apr-08 9:14
som.nitk28-Apr-08 9:14 
GeneralRe: System.Timers.Timer Pin
PIEBALDconsult28-Apr-08 9:20
mvePIEBALDconsult28-Apr-08 9:20 
GeneralRe: System.Timers.Timer Pin
Zoltan Balazs28-Apr-08 9:41
Zoltan Balazs28-Apr-08 9:41 
GeneralRe: System.Timers.Timer Pin
Anthony Mushrow28-Apr-08 14:13
professionalAnthony Mushrow28-Apr-08 14:13 
GeneralRe: System.Timers.Timer Pin
geekfromindia28-Apr-08 16:21
geekfromindia28-Apr-08 16:21 

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.