Click here to Skip to main content
15,306,142 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
Membertsw198525-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
mveBillWoodruff25-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
mvaPete O'Hanlon25-Sep-12 11:47 
QuestionVB To C# ( _value = Asc(Mid(LStr, IValue, 1))) Pin
blackchaosv224-Sep-12 22:39
Memberblackchaosv224-Sep-12 22:39 
AnswerRe: VB To C# ( _value = Asc(Mid(LStr, IValue, 1))) Pin
Pete O'Hanlon24-Sep-12 22:49
mvaPete 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
Memberblackchaosv224-Sep-12 23:15 
GeneralRe: VB To C# ( _value = Asc(Mid(LStr, IValue, 1))) Pin
Pete O'Hanlon24-Sep-12 23:29
mvaPete O'Hanlon24-Sep-12 23:29 
AnswerRe: VB To C# ( _value = Asc(Mid(LStr, IValue, 1))) Pin
BobJanova24-Sep-12 23:53
MemberBobJanova24-Sep-12 23:53 
AnswerRe: VB To C# ( _value = Asc(Mid(LStr, IValue, 1))) Pin
Dave Doknjas25-Sep-12 14:13
MemberDave Doknjas25-Sep-12 14:13 
GeneralRe: VB To C# ( _value = Asc(Mid(LStr, IValue, 1))) Pin
Pete O'Hanlon25-Sep-12 20:57
mvaPete O'Hanlon25-Sep-12 20:57 
QuestionReading data from mobilephone througe usb port Pin
sreejeshn24-Sep-12 21:59
Membersreejeshn24-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
MemberMember 928312224-Sep-12 17:44 
QuestionC# can not locate file Pin
rachel_m24-Sep-12 17:42
Memberrachel_m24-Sep-12 17:42 
AnswerRe: C# can not locate file Pin
Abhinav S24-Sep-12 21:04
MemberAbhinav 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
MemberAlan 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
Memberjschell25-Sep-12 8:34 
QuestionShould i use my DAL in my acceptance tests? Pin
Member 867449224-Sep-12 12:34
MemberMember 867449224-Sep-12 12:34 
AnswerRe: Should i use my DAL in my acceptance tests? Pin
jschell24-Sep-12 12:42
Memberjschell24-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.