Click here to Skip to main content
15,886,919 members
Home / Discussions / C#
   

C#

 
GeneralRe: ListView Pin
wizardzz18-May-11 8:24
wizardzz18-May-11 8:24 
QuestionHow to detect mouse over and out on windows title bar Pin
Tridip Bhattacharjee17-May-11 3:43
professionalTridip Bhattacharjee17-May-11 3:43 
AnswerRe: How to detect mouse over and out on windows title bar PinPopular
Dave Kreskowiak17-May-11 4:58
mveDave Kreskowiak17-May-11 4:58 
QuestionSelecting elements from array at specific indices Pin
Chesnokov Yuriy17-May-11 1:25
professionalChesnokov Yuriy17-May-11 1:25 
AnswerRe: Selecting elements from array at specific indices Pin
Luc Pattyn17-May-11 1:54
sitebuilderLuc Pattyn17-May-11 1:54 
AnswerRe: Selecting elements from array at specific indices Pin
Chesnokov Yuriy17-May-11 1:58
professionalChesnokov Yuriy17-May-11 1:58 
GeneralRe: Selecting elements from array at specific indices Pin
Luc Pattyn17-May-11 2:01
sitebuilderLuc Pattyn17-May-11 2:01 
AnswerRe: Selecting elements from array at specific indices Pin
Wayne Gaylard17-May-11 3:48
professionalWayne Gaylard17-May-11 3:48 
You can use the Where clause ie

private void indices()
        {
            List<int> listInts = new List<int>() { 1, -23, 45, -723, 29, 49, -90, 628, 476, 39, -10, 30 };
            int[] indices = new int[] { 3, 5, 7, 9 };
            var selected = listInts.Where((i, index) => !indices.Contains(index));
        }


That will do it.
...and I have extensive experience writing computer code, including OIC, BTW, BRB, IMHO, LMAO, ROFL, TTYL.....

AnswerRe: Selecting elements from array at specific indices Pin
Luc Pattyn17-May-11 4:17
sitebuilderLuc Pattyn17-May-11 4:17 
GeneralRe: Selecting elements from array at specific indices Pin
Wayne Gaylard17-May-11 4:24
professionalWayne Gaylard17-May-11 4:24 
GeneralRe: Selecting elements from array at specific indices Pin
Chesnokov Yuriy17-May-11 7:15
professionalChesnokov Yuriy17-May-11 7:15 
GeneralRe: Selecting elements from array at specific indices Pin
Pete O'Hanlon17-May-11 9:17
mvePete O'Hanlon17-May-11 9:17 
GeneralRe: Selecting elements from array at specific indices Pin
Chesnokov Yuriy17-May-11 20:43
professionalChesnokov Yuriy17-May-11 20:43 
AnswerRe: Selecting elements from array at specific indices Pin
AspDotNetDev17-May-11 9:32
protectorAspDotNetDev17-May-11 9:32 
AnswerRe: Selecting elements from array at specific indices PinPopular
AspDotNetDev17-May-11 5:41
protectorAspDotNetDev17-May-11 5:41 
GeneralRe: Selecting elements from array at specific indices Pin
Chesnokov Yuriy17-May-11 7:16
professionalChesnokov Yuriy17-May-11 7:16 
QuestionTable in c# Pin
MiguelSanchezCuarental17-May-11 0:47
MiguelSanchezCuarental17-May-11 0:47 
AnswerRe: Table in c# Pin
Pete O'Hanlon17-May-11 0:59
mvePete O'Hanlon17-May-11 0:59 
AnswerRe: Table in c# Pin
Luc Pattyn17-May-11 1:01
sitebuilderLuc Pattyn17-May-11 1:01 
GeneralRe: Table in c# Pin
MiguelSanchezCuarental17-May-11 1:09
MiguelSanchezCuarental17-May-11 1:09 
GeneralRe: Table in c# Pin
Luc Pattyn17-May-11 1:29
sitebuilderLuc Pattyn17-May-11 1:29 
GeneralRe: Table in c# Pin
MiguelSanchezCuarental17-May-11 1:45
MiguelSanchezCuarental17-May-11 1:45 
Questionconvert panel value into image in c# Pin
maheshvaran16-May-11 21:17
maheshvaran16-May-11 21:17 
AnswerRe: convert panel value into image in c# Pin
OriginalGriff16-May-11 22:10
mveOriginalGriff16-May-11 22:10 
GeneralRe: convert panel value into image in c# Pin
SilimSayo17-May-11 7:37
SilimSayo17-May-11 7:37 

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.