in this program im tryin to keep the guests in a line and the numbers in another line ... but it always start from the middle of the list I dont know why
take a look :

class Program
   {
      static void Main(string[] args)
      {
         string x = "Guest_TheDreamBoi Guest_XxEmoChickGirlxX 2 Guest_babecookieboo 0 Guest_dannnielliee 0 Guest_Cain098 0 Guest_Bwood4Lyfe 12 Guest_shawtylikekiki2 0 Guest_XBrittsaBitchX 6 Guest_Atimas 0 Guest_uzzzzzzzzzzzzzzzzzz 0 camborocker 590 SephRayne 4 Sawyer 261 Guest_Sweet081 310 LuNaZuL666 10 Guest_beautifulbuzzums 93 Guest_Keyshon1994 1 Guest_BellaaBear 0 Guest_lufMEEE xxGangsterBrittanyxx 4 kabald4 33 Guest_hotballer4039 5 Guest_123hypoactive 0 angeal07 120 Guest_billiejeanismyluvr div class='olstatus-container' 0 Guest_Yoshi2222 0 Guest_Katpinzi 15 Guest_xxAngexx3 0 Guest_sexilight 194 twilight5666 1 Guest_xBaByBoOo 0 Guest_loa3 156 Guest_ladybriee 173 Guest_littlehottiemegan 431 Guest_nellynellmarie 0 Istapp 28 iSCR34M Guest_7Ally Guest_StayinKool 206 Guest_lolycrap 4 Guest_WolfXVampire 0 xhalie 57 Guest_spherce 11 Shananacokwaw 1 MerlinDragon 7 Guest_QuiteLikeFalling 53 Guest_Gothic09aust 1 Guest_poofsterlol 0 Guest_vv12729 0 Guest_acehalol 0 Guest_ppppaat Guest_ShadowFoxByakuya 3 Guest_StylishD 19 ReyGirl88 Guest_ZeroGravity23 Guest_XxLynx 86 VampiressesNeferata Guest_LisaReay 288 iLaDiiViRG0 617 PicturePerfect111 208 Guest_MszNegritaa 77 Guest_NosferaTheron 2 Guest_Jasmine4560 2 Guest_shaunxxxxx 0 Guest_Kyniema 0 Guest_bajan12344567 Guest_lyed04 0 Guest_SweetGial971 108 Guest_chadd177 35 Guest_MichealJV 0 Guest_BlackVampire18 637 Guest_LacyRellaX 1 Guest_sashadabomb 25 Guest_0hhEmGee 1 Guest_HotCuteRuby 71 Guest_Bryanjack 273 Guest_oOsexxiiOo Guest_lauriebaby 1 Guest_Saphyre808 0 Guest_AddictingXRetard 0 Guest_DejaVu204 21 Guest_gummieguhh Guest_iD33ZZYY 0 Guest_HaseoAsakura94 96 Guest_iiSooFlYY32 0 Guest_17gansta 0 Guest_lilcooki27 201 Guest_jenniferloui 150 Guest_iN3griitaah 0 Guest_mrright300 31 PrincessAngel1988 170 xxDropDeadVandalxx 28 BreannaLeigh74 22 Guest_XlxRaeRaexlX 244 Remedy 40 Guest_jeremy438 58 Seduisante 494 CholoSolo 1277 Guest_Bloodsis 0 xxxxcherryxlipsxxxx Guest_maddyrox1273 0 Guest_SadnessFeeler 30 Guest_fabulis19 1 Guest_AiScream Guest_De2fly 13 Guest_DjFresh4654 13 Guest_channarionbadazz xxlacy515 21 Guest_Jakayla318 44 Guest_MZDIHMONZ 33 Guest_keiyonna1 53 iMrKriss 37 f49907 165 Guest_Claireabla 71 Ex0Skeleton Guest_LAXtankBONES 34 Guest_BAYB33C33 0 Guest_ninahere 0 Dazzlewitch 47 EmprorZedekBloodWolf 9 iRaInB0wZ 16 Guest_xxTibby 0 Guest_Vanessa0277 0 Guest_Runobabe 0 Guest_NillaXCbuns 0 Guest_ShawtiiG0tSwaGG 0 Guest_kirksh 0 Guest_iBROOKEx 0 Guest_IM4XI 0 Guest_PerpetualKnowledge 0 Guest_Xvictoriasecrets 0 Guest_IL0llipop 1 Guest_scenekidbailey 0 Guest_mariahangel813 0 Guest_crazycute35 0 Guest_iHookerA 0 Guest_xxloopyjanexx 0 Guest_BludPhoenix 0 Guest_xBonezz 0 Guest_dzack23 0 Guest_ImAJeRK17 0 Guest_youngjeezy32 0 Guest_RawrFearMeNow 16 Guest_angelbabe087 0 Guest_rosiecrain 0 SuzakuScorpio 16 Guest_cappygurl 0 Diemma 0 Guest_winterlovesu4ever 0 Guest_rap3m3now 0 Guest_v9623 0 Guest_sweetieapril 0 Guest_ANTHONYTK4 0 Guest_XxRawR94xX 0 Guest_FazeJL2 13 Guest_lakenziel 0 Guest_NIKKIIFRESH Guest_hottielove255 0 Guest_zarkry 0 Guest_chicbabii 0 LordErosLoveGod 2 Guest_cartor03 0 Guest_galimas 0 Guest_CraziixSilly 0 Guest_VioletDiva1 0 Guest_AlexAxandriax 0 Guest_fatherdark 1 Guest_EmilyCarlieRose 5 Guest_lolbobkill 0 Guest_XxScenexErianxX 0 Guest_slived123 0 IconicTwist 11 Guest_Cutechicaxtina33 Guest_hotfirema 0 Guest_XxAmandax0x0x 0 iiJuliet 83 Guest_RBLC09 0 Guest_sukllchick 14 Guest_LyNLyN09 43 Guest_Chiika14 94 Guest_Bloodryane119 0 Guest_IMAGIRLTILLTHEND98 0 Guest_febe4real 0 Guest_LovesDawn 0 Guest_whodahey 0 Guest_adriennebaby13 0 Guest_LovelessEvilKitty 83 Guest_ilovejonas003 0 Guest_Arnotia 0 Guest_BonkyB 0 0069Ivy 5 MeghanPotter22 1 Guest_felicia101234 0 Guest_lovelylili69 0 VipNate 18 Guest_KingTeolleEastham 6 Guest_NaturalKisa 2 Guest_xse7enxx 20 Guest_rockeyblaze 0 XxAlphaLionxX 3 HaileyBabyGurl Guest_R4YZ3R 1 Guest_QueenAdelEastham 22 Guest_xxHazelHeroinexx 1 Guest_ilovejonas03 0 Guest_DizzyDiamonds 0 Guest_BloodRedAndEmoBoys Guest_ISwaggaNerd 25 Guest_houstonwalker 0 Guest_delizhus1 1 Guest_THEEORIGINAL 46 kakie187 26 Guest_blondebrat18 6 Guest_bigpimpinman420 XxiiLuvYuhxX Livs65_disabled_37271793 1 Guest_imJOS3 2 Guest_IEverest 346 Guest_XXxxcutebabyxxXX 0 Guest_Jovanny77 0 Guest_jrocc128 20 Guest_YukiLovehart Guest_loveyouo 0 Guest_tinkerbella4life 0 Guest_afrodita82 1 Guest_babii2Fyne Guest_iBeauty48 9 Guest_VannDgo 100 Guest_pinkcerise 162 Guest_iiBo0mchiick 15 Guest_xShAwTiiStArJuiCyX 46 Guest_XxT3DDIIxX 151 Guest_xXTheUltraBestXx 9 Guest_MrNotorious17 0 Guest_yourlilbrat123 0 Guest_Sirinity41599 0 MarissaChaotic 62 Guest_Cassygpunk23 0 Guest_emoboy167 2 Guest_bajanovios 60 Guest_XxHotDreamGirlxX 76 minimiss1 87 Guest_pladgirllacey 11 Guest_ongiovanniDICK 115 Guest_Diva4lyf123 10 Guest_lollypop4uz 127 Guest_lolFlorian 64 sexybabyll 13 Guest_tzlil100 37 TheSparksFlyUp 59 Guest_Cendy1020 15 Guest_xxbeautifuliexx 1 Guest_mcChotty 319 Kikiyou104 195 Guest_imgangstabitch2 8 Guest_samantah1 1 Guest_ikia612 76 Guest_dapresobama 11 Guest_aceboongoonchick1217 33 GoddessNerezza 201 Guest_Littlelex12 XuXknoXuXwantXmehX 3 Guest_Rainbowlious 117 Guest_AriannaRuth 18 BeautifulSpiryt 47 Guest_JTGirl1995 0 Guest_lillnecho 77 cutiepie3595 83 Helorn 523 Guest_mily23 0 Guest_trezoiu 3 Guest_b00kieboo 44 Guest_bissshiex3 0 Guest_Puracy grownjohnboy 3 xangelxprincessxxx 222 Guest_nanielove100 Guest_jruckiaqueen 102 Guest_OPinkPopzO 1 Shontella12 15 Guest_lovlala17 22 sparklingapple18 105 Guest_Rezdog10 0 Guest_tinara67 93 Guest_dswogg 8 iBasshunt 48 Guest_jony91 1 Guest_redd08 35 Guest_lHyperl 98 Magnifying Guest_simplydatbitch Guest_angelooshi12 46 Guest_xXrarrwrx3 Guest_Kiwi007 3 EmoGirlDani96 16 Guest_Bustitbaby727 238 Guest_carman12345 11 Guest_lolalalatina 4 xxxxXPerfectionXxxxx 13 THECHARISMA 41 LadyKateyah CampTownKid 40 Guest_323Cheryl 12 nenabitch90 5 msdopetasticbarbie 44 Guest_emolooklover 65 Guest_sexylady39632 97 iEmoSkittles 395 ls1989 56 Shayna 0 shortieman20000 1 Guest_bbkins91 13 Guest_SakaMercury 194 Cullenized Guest_ToxicQG 153 Guest_kishafolife CoconutSented ClaireLovesBears 91 Guest_Adoxo Guest_UnoMcLovin 0 candiceluvsu39 1 Guest_ibedatnumdah1stunna 46 ashleynicholeladd 2 Guest_REU3 1 Surprise 10 Guest_guapitap 0 anthonytc 4 ImperfectSuperman 29 Guest_Deaundre156 0 misslilhiphop 341 Guest_garebear4 37 CarlottaFun Guest_PikachuXo 12 iSabrinaloves 658 Guest_MiizSpAiN2009FoReVeR 81 EMOskittlesX3 90 Guest_lilmiawayne Guest_yasminex3s 0 Guest_vanessa470 1 Guest_eliana809 0 iCwazii 39 Guest_SexyDiva90210 3 XxLickableLesbianXx MizzHyphyWiifey 79 Guest_MeishyBeishy 433 Rasterized Guest_sourcherry58 10 Guest_BloodySaka 0 DarkAngel2457 2 Guest_Razrfang666 3 DROPD3ADLY 183 KrisxKarisma 131 AvatarYessi 79 Guest_luvanime2008 55 rialbabyy ItsLikeWhatEv 135 loveintheclub22 18 iRawrgasmic 47 iNBREAKABlE 116 Guest_Sexualhottie25 0 GUTTAHM0D3L08 cryingout2 221 tasha61 2 Guest_GangstaStudz28 0 tyeizfamouz 211 BEAT0FF iireeses Guest_darkshadowz123 0 malukezie 51 Guest_donutk90 0 Guest_graffitiqueen1 55 Guest_TORQUE7XX7 0 iMonsterz Raglan 35 Guest_CurioJess 9 IndependentableMeMe 125 BubblezParadise 24 Guest_Mattdaboy 262 MzMizfit 685 AMZBALLER 29 DaeBayBbii 244 Guest_MagicCates 3 Guest_Syusuke07 21 DonCdoddsy 23 Guest_Hawtbabeh 171 xJiniHazinex 31 Guest_sexiciara1993 98 VerticalX DonHunter 2 Guest_iluvyou4000 35 dustydiamond 33 Marina961112 8 BioDiablo 201 PeachesLuvsu4ever QweenofWolves1 120 Guest_momol1l ErebusM 6 MsxFierce 141 iGoreGasm 59 Guest_AmiieeLexii 0 ViktoriaCapetta 1072 Guest_ecuatoriana1993 0 DeathTease666 Guest_SingingFreak1294 3 bellamichelle 106 luvorboy Drugorexia Guest_MaggieBM yourspecialcrush 82 Sleaze 4 Guest_S3XiLATiNA Guest_cmc4life 3 Fallen632006 BlueAngelBitch 23 chster1992 13 caitlyn1995 70 Josh Guest_aZnCuT13 0 Erke 100 FreeSpace 207";
         for (int i = 0; i < x.Length; i++)
         {
            if (x[i] == ' ')
               Console.WriteLine();
            else
               Console.Write(x[i]);
         }
         Console.WriteLine();

      }
   }

I thought that the mistake is because of the string capacity
but when I tried to output the list
by console.WriteLine(x) ;
the whole list was there not from the middle
so can any one tell me wat im missin

Is the console capable of outputting all that text without the need to scroll up?

Are you having to work with someone else's pasta code or is this some sort of frankenstein DB design you have?

common its just a for loop wat pasta code are u talkin about
and yea sure i need to scroll up and down, cant u see that the data is so big
again my question is that when im tryin to put the guest in a line and the number in the line
the resultant output starts from the middle of the list
and when i try to output the list it show up properly

Found the problem, the Console by default can handle only 300 lines, the solution is to write:

Console.BufferHeight = 3000;

Before you write to the console and it will work(set the buffer to how many lines you will need).

Thank you my friend
that is the missin part

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.