How To Generate Char array in C#?

EDN Admin

Well-known member
Joined
Aug 7, 2010
Messages
12,794
Location
In the Machine
<p style="margin-bottom:0in; margin-bottom:.0001pt; line-height:normal Given the char Array like this:
<p style="margin-bottom:0in; margin-bottom:.0001pt; line-height:normal <span><span lang="CS char<span lang="CS [] thisChar = {<span>A,
<span>B, <span>C,<span>D, <span>E, <span>F,
<span>G};
<p style="line-height:normal then I want to produce result as below;
<p style="margin-bottom:0in; margin-bottom:.0001pt; line-height:normal A
<p style="margin-bottom:0in; margin-bottom:.0001pt; line-height:normal AB
<p style="margin-bottom:0in; margin-bottom:.0001pt; line-height:normal ABC
<p style="margin-bottom:0in; margin-bottom:.0001pt; line-height:normal ABCD
<p style="margin-bottom:0in; margin-bottom:.0001pt; line-height:normal ABCDE
<p style="margin-bottom:0in; margin-bottom:.0001pt; line-height:normal ABCDEF
<p style="margin-bottom:0in; margin-bottom:.0001pt; line-height:normal ABCDEFG
<p style="margin-bottom:0in; margin-bottom:.0001pt; line-height:normal AC
<p style="margin-bottom:0in; margin-bottom:.0001pt; line-height:normal ACD
<p style="margin-bottom:0in; margin-bottom:.0001pt; line-height:normal ACDE
<p style="margin-bottom:0in; margin-bottom:.0001pt; line-height:normal ACDEF
<p style="margin-bottom:0in; margin-bottom:.0001pt; line-height:normal ACDEFG
<p style="margin-bottom:0in; margin-bottom:.0001pt; line-height:normal AD
<p style="margin-bottom:0in; margin-bottom:.0001pt; line-height:normal ADE
<p style="margin-bottom:0in; margin-bottom:.0001pt; line-height:normal ADEF
<p style="margin-bottom:0in; margin-bottom:.0001pt; line-height:normal ADEFG
<p style="margin-bottom:0in; margin-bottom:.0001pt; line-height:normal AE
<p style="margin-bottom:0in; margin-bottom:.0001pt; line-height:normal AEF
<p style="margin-bottom:0in; margin-bottom:.0001pt; line-height:normal AEFG
<p style="margin-bottom:0in; margin-bottom:.0001pt; line-height:normal AF
<p style="margin-bottom:0in; margin-bottom:.0001pt; line-height:normal AFG
<p style="margin-bottom:0in; margin-bottom:.0001pt; line-height:normal AG
<p style="margin-bottom:0in; margin-bottom:.0001pt; line-height:normal B
<p style="margin-bottom:0.0001pt; line-height:normal BC
<p style="margin-bottom:0.0001pt; line-height:normal BCD
<p style="margin-bottom:0.0001pt; line-height:normal BCDE
<p style="margin-bottom:0.0001pt; line-height:normal BCDEF
<p style="margin-bottom:0.0001pt; line-height:normal BCDEFG
<p style="margin-bottom:0.0001pt; line-height:normal C
<p style="margin-bottom:0.0001pt; line-height:normal CD
<p style="margin-bottom:0.0001pt; line-height:normal CDE
<p style="margin-bottom:0.0001pt; line-height:normal CDEF
<p style="margin-bottom:0.0001pt; line-height:normal CDEFG
<p style="margin-bottom:0in; margin-bottom:.0001pt; line-height:normal and so on....
<p style="margin-bottom:0in; margin-bottom:.0001pt; line-height:normal
<span style="font-size:11.0pt; line-height:115%; font-family:Calibri,sans-serif Can anyone help me how to accomplish this task in C# Win Form?<br/>

View the full article
 
Back
Top