Click here to Skip to main content
15,891,423 members
Home / Discussions / C#
   

C#

 
AnswerRe: Needed to Create a Scrolling Ticker with LinkLabel Functionality Pin
Jacob D Dixon4-Dec-10 3:23
Jacob D Dixon4-Dec-10 3:23 
QuestionListView in C#.net Pin
mathy2-Dec-10 19:52
mathy2-Dec-10 19:52 
AnswerRe: ListView in C#.net Pin
Hiren solanki2-Dec-10 19:54
Hiren solanki2-Dec-10 19:54 
AnswerRe: ListView in C#.net Pin
Sathesh Sakthivel2-Dec-10 21:24
Sathesh Sakthivel2-Dec-10 21:24 
GeneralRe: ListView in C#.net Pin
Hiren solanki2-Dec-10 21:42
Hiren solanki2-Dec-10 21:42 
GeneralRe: ListView in C#.net Pin
phil.o3-Dec-10 2:33
professionalphil.o3-Dec-10 2:33 
GeneralRe: ListView in C#.net Pin
Hiren solanki3-Dec-10 2:37
Hiren solanki3-Dec-10 2:37 
QuestionLinq in 3.0 Framework Pin
Tiger4562-Dec-10 18:57
Tiger4562-Dec-10 18:57 
In my smart client application (3.0 Framework) i would like to use Linq.

Whe i tried below code.
string[] names = { "Burke", "Connor", "Frank", 
                         "Everett", "Albert", "George",
                         "Harris", "David" };

            IEnumerable<string> expr = from s in names
                                       where s.Length == 5
                                       orderby s
                                       select s.ToUpper();

            foreach (string item in expr) { Console.WriteLine(item); }


This code is throwing an error message

Could not find an implementation of the query pattern for source type 'string[]'. 'Where' not found. Are you missing a reference to 'System.Core.dll' or a using directive for 'System.Linq'?

i have used System.Linq directive in code but unable to add 'System.Core.dll' becuse as it disable. As per the requirement we need to stick on with 3.0 Framework. Any other way to do it.
AnswerRe: Linq in 3.0 Framework Pin
Hiren solanki2-Dec-10 19:21
Hiren solanki2-Dec-10 19:21 
GeneralRe: Linq in 3.0 Framework Pin
Tiger4562-Dec-10 20:50
Tiger4562-Dec-10 20:50 
AnswerRe: Linq in 3.0 Framework Pin
Hiren solanki2-Dec-10 21:44
Hiren solanki2-Dec-10 21:44 
GeneralRe: Linq in 3.0 Framework Pin
Tiger4562-Dec-10 21:57
Tiger4562-Dec-10 21:57 
QuestionSave and Save as [modified] Pin
squerley2-Dec-10 10:20
squerley2-Dec-10 10:20 
AnswerRe: Save and Save as Pin
Pete O'Hanlon2-Dec-10 10:36
mvePete O'Hanlon2-Dec-10 10:36 
GeneralRe: Save and Save as Pin
GenJerDan2-Dec-10 11:25
GenJerDan2-Dec-10 11:25 
GeneralRe: Save and Save as Pin
squerley2-Dec-10 11:39
squerley2-Dec-10 11:39 
GeneralRe: Save and Save as Pin
Pete O'Hanlon2-Dec-10 11:55
mvePete O'Hanlon2-Dec-10 11:55 
GeneralRe: Save and Save as Pin
Dalek Dave2-Dec-10 12:26
professionalDalek Dave2-Dec-10 12:26 
AnswerRe: Save and Save as Pin
GenJerDan2-Dec-10 11:29
GenJerDan2-Dec-10 11:29 
GeneralRe: Save and Save as Pin
squerley2-Dec-10 12:15
squerley2-Dec-10 12:15 
GeneralRe: Save and Save as Pin
GenJerDan2-Dec-10 17:22
GenJerDan2-Dec-10 17:22 
GeneralRe: Save and Save as Pin
Dalek Dave2-Dec-10 12:27
professionalDalek Dave2-Dec-10 12:27 
AnswerRe: Save and Save as Pin
Luc Pattyn2-Dec-10 12:10
sitebuilderLuc Pattyn2-Dec-10 12:10 
AnswerRe: Save and Save as Pin
_Erik_3-Dec-10 3:22
_Erik_3-Dec-10 3:22 
GeneralRe: Save and Save as Pin
squerley3-Dec-10 8:59
squerley3-Dec-10 8:59 

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.