Click here to Skip to main content
15,902,189 members

Comments by Wjousts (Top 17 by date)

Wjousts 11-Oct-11 9:38am View    
Deleted
I did exactly what the OP did before I discovered the Fisher-Yates shuffle. I think both are o(n), but the Fisher-Yates shuffles in place rather than creating a new list. Of course, if you want to copy and shuffle (hence retaining the original list in the original order) then the OP's method is better (since it doesn't change collection).
Wjousts 9-Aug-11 17:23pm View    
I don't see an "EmployeeData" anywhere in your view, view model or model, but you've got it set as your itemsource for your list view. I also don't see where you are initializing your model or view model.
Are you missing some code in your snippets? Else, that's your problem.
Wjousts 9-Aug-11 17:22pm View    
Deleted
I don't see an "EmployeeData" anywhere in your view, view model or model, but you've got it set as your itemsource for your list view. I also don't see where you are initializing your model or view model.
Unless you are doing it in the code behind of your view, that'll be your problem.
Wjousts 5-Aug-11 14:30pm View    
No it won't. Read the docs:

Initializes a new instance of the Random class, using a time-dependent default seed value.

The parameterless constructor basically does what you suggest internally.
Wjousts 3-Aug-11 10:19am View    
Can you even install two versions of PowerPoint and have them peacefully co-exist? And since the latest version of PowerPoint should be backwards compatible with PPT files from earlier versions, why would you want to?
Even with PowerPoint 2010 open, you should be able to specify the format you want to save in, but I'm not sure if there are any differences (in file format) between 2007 and 2010 anyway.