Click here to Skip to main content
15,881,600 members
Home / Discussions / C#
   

C#

 
AnswerRe: How could I make a Solitaire Windows Game Pin
Eddy Vluggen25-Sep-12 1:17
professionalEddy Vluggen25-Sep-12 1:17 
GeneralRe: How could I make a Solitaire Windows Game Pin
tsw198525-Sep-12 1:40
tsw198525-Sep-12 1:40 
SuggestionRe: How could I make a Solitaire Windows Game Pin
Eddy Vluggen25-Sep-12 10:18
professionalEddy Vluggen25-Sep-12 10:18 
GeneralRe: How could I make a Solitaire Windows Game Pin
BillWoodruff25-Sep-12 22:32
professionalBillWoodruff25-Sep-12 22:32 
GeneralRe: How could I make a Solitaire Windows Game Pin
Eddy Vluggen26-Sep-12 1:48
professionalEddy Vluggen26-Sep-12 1:48 
GeneralRe: How could I make a Solitaire Windows Game Pin
Pete O'Hanlon25-Sep-12 11:47
mvePete O'Hanlon25-Sep-12 11:47 
QuestionVB To C# ( _value = Asc(Mid(LStr, IValue, 1))) Pin
blackchaosv224-Sep-12 22:39
blackchaosv224-Sep-12 22:39 
AnswerRe: VB To C# ( _value = Asc(Mid(LStr, IValue, 1))) Pin
Pete O'Hanlon24-Sep-12 22:49
mvePete O'Hanlon24-Sep-12 22:49 
Mid is the equivalent of Substring. Rather than passing in LStr, you use Substring on that, so you'd have LStr.Substring. LValue is the start position and 1 is the length that you pass in to the Substring method.

Asc just returns the ASCII code, so all you need to do is convert the single character from your Substring to an int.

*pre-emptive celebratory nipple tassle jiggle* - Sean Ewington

"Mind bleach! Send me mind bleach!" - Nagy Vilmos


CodeStash - Online Snippet Management | My blog | MoXAML PowerToys | Mole 2010 - debugging made easier

GeneralRe: VB To C# ( _value = Asc(Mid(LStr, IValue, 1))) Pin
blackchaosv224-Sep-12 23:15
blackchaosv224-Sep-12 23:15 
GeneralRe: VB To C# ( _value = Asc(Mid(LStr, IValue, 1))) Pin
Pete O'Hanlon24-Sep-12 23:29
mvePete O'Hanlon24-Sep-12 23:29 
AnswerRe: VB To C# ( _value = Asc(Mid(LStr, IValue, 1))) Pin
BobJanova24-Sep-12 23:53
BobJanova24-Sep-12 23:53 
AnswerRe: VB To C# ( _value = Asc(Mid(LStr, IValue, 1))) Pin
Dave Doknjas25-Sep-12 14:13
Dave Doknjas25-Sep-12 14:13 
GeneralRe: VB To C# ( _value = Asc(Mid(LStr, IValue, 1))) Pin
Pete O'Hanlon25-Sep-12 20:57
mvePete O'Hanlon25-Sep-12 20:57 
QuestionReading data from mobilephone througe usb port Pin
sreejeshn24-Sep-12 21:59
sreejeshn24-Sep-12 21:59 
AnswerRe: Reading data from mobilephone througe usb port Pin
Eddy Vluggen25-Sep-12 0:19
professionalEddy Vluggen25-Sep-12 0:19 
QuestionDeserialize Pin
Member 928312224-Sep-12 17:44
Member 928312224-Sep-12 17:44 
QuestionC# can not locate file Pin
rachel_m24-Sep-12 17:42
rachel_m24-Sep-12 17:42 
AnswerRe: C# can not locate file Pin
Abhinav S24-Sep-12 21:04
Abhinav S24-Sep-12 21:04 
AnswerRe: C# can not locate file Pin
Richard MacCutchan24-Sep-12 22:01
mveRichard MacCutchan24-Sep-12 22:01 
GeneralRe: C# can not locate file Pin
Alan N25-Sep-12 0:42
Alan N25-Sep-12 0:42 
GeneralRe: C# can not locate file Pin
Richard MacCutchan25-Sep-12 5:43
mveRichard MacCutchan25-Sep-12 5:43 
AnswerRe: C# can not locate file Pin
jschell25-Sep-12 8:34
jschell25-Sep-12 8:34 
QuestionShould i use my DAL in my acceptance tests? Pin
Member 867449224-Sep-12 12:34
Member 867449224-Sep-12 12:34 
AnswerRe: Should i use my DAL in my acceptance tests? Pin
jschell24-Sep-12 12:42
jschell24-Sep-12 12:42 
AnswerRe: Should i use my DAL in my acceptance tests? Pin
V.24-Sep-12 20:16
professionalV.24-Sep-12 20:16 

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.