Click here to Skip to main content
15,914,371 members
Home / Discussions / C#
   

C#

 
Questionusing Authorization Manager and principal permission Pin
keinan12-Dec-05 23:06
keinan12-Dec-05 23:06 
Questionhow to configure log4net for class library project Pin
YogeshChoudhary12-Dec-05 23:03
YogeshChoudhary12-Dec-05 23:03 
AnswerRe: how to configure log4net for class library project Pin
Anthony_Yio13-Dec-05 0:26
Anthony_Yio13-Dec-05 0:26 
GeneralRe: how to configure log4net for class library project Pin
YogeshChoudhary13-Dec-05 0:46
YogeshChoudhary13-Dec-05 0:46 
QuestionCrystal Reprt Pin
albCode12-Dec-05 22:56
albCode12-Dec-05 22:56 
AnswerRe: Crystal Reprt Pin
Polis Pilavas12-Dec-05 23:04
Polis Pilavas12-Dec-05 23:04 
Questionapplication pool getting recycled Pin
savage_12-Dec-05 22:49
savage_12-Dec-05 22:49 
QuestionWhat a character !! Pin
IceWater4212-Dec-05 22:10
IceWater4212-Dec-05 22:10 
I have a string, oldWord, that contains exactly 1 space SOMEWHERE in it. I want to generate 26 copies of that word with the space being converted to a letter, 'a' through 'z'.

I tried this:

string oldWord;
string[] newWord;
...

for (int c = 0; c < 26; c++)
{
newWord[c] = oldWord.Replace(' ', 'a'+c );
}

The compiler complains about the parameter, 'a'+c , as being an "invalid char", as you probably expected. I've tried lots of different combinations, to no avail. Would you please tell me how i can code that parameter so i get the expected result?

Thank you.
AnswerRe: What a character !! Pin
MarcelErz12-Dec-05 22:27
MarcelErz12-Dec-05 22:27 
AnswerRe: What a character !! Pin
Anbuselvan12-Dec-05 22:40
Anbuselvan12-Dec-05 22:40 
AnswerRe: What a character !! Pin
Guffa13-Dec-05 3:27
Guffa13-Dec-05 3:27 
AnswerRe: What a character !! Pin
IceWater4216-Dec-05 6:19
IceWater4216-Dec-05 6:19 
QuestionHow to find the date of day before today ? Pin
Yanshof12-Dec-05 22:03
Yanshof12-Dec-05 22:03 
AnswerRe: How to find the date of day before today ? Pin
akyriako7812-Dec-05 22:10
akyriako7812-Dec-05 22:10 
AnswerRe: How to find the date of day before today ? Pin
MarcelErz12-Dec-05 22:15
MarcelErz12-Dec-05 22:15 
AnswerRe: How to find the date of day before today ? Pin
HakunaMatada12-Dec-05 22:25
HakunaMatada12-Dec-05 22:25 
QuestionSingleton class in C# Pin
Shubhabrata Mohanty12-Dec-05 21:58
Shubhabrata Mohanty12-Dec-05 21:58 
AnswerRe: Singleton class in C# Pin
Rob Philpott13-Dec-05 6:40
Rob Philpott13-Dec-05 6:40 
QuestionC# Algorithm Pin
izakfick12-Dec-05 21:32
izakfick12-Dec-05 21:32 
GeneralRe: C# Algorithm Pin
J4amieC12-Dec-05 21:52
J4amieC12-Dec-05 21:52 
Questionpdf search Pin
TAREQ F ABUZUHRI12-Dec-05 21:20
TAREQ F ABUZUHRI12-Dec-05 21:20 
AnswerRe: pdf search Pin
Polis Pilavas12-Dec-05 23:10
Polis Pilavas12-Dec-05 23:10 
QuestionTreeview (Windows Application) Pin
Mahi.Ragava12-Dec-05 21:19
Mahi.Ragava12-Dec-05 21:19 
AnswerRe: Treeview (Windows Application) Pin
Curtis Schlak.13-Dec-05 3:20
Curtis Schlak.13-Dec-05 3:20 
GeneralRe: Treeview (Windows Application) Pin
Mahi.Ragava13-Dec-05 17:08
Mahi.Ragava13-Dec-05 17:08 

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.