{"id":109,"date":"2010-01-06T15:38:00","date_gmt":"1970-01-01T00:00:00","guid":{"rendered":"http:\/\/www.yazilimmutfagi.com\/?p=109"},"modified":"2010-01-06T15:38:00","modified_gmt":"1970-01-01T00:00:00","slug":"yazilim-mutfagi-dersleri-csharp-ders-6-hata-yakalama-exception-handling-mekanizmasi","status":"publish","type":"post","link":"https:\/\/www.yazilimmutfagi.com\/index.php\/2010\/01\/06\/yazilim-mutfagi-dersleri-csharp-ders-6-hata-yakalama-exception-handling-mekanizmasi\/","title":{"rendered":"Yazilim Mutfagi Dersleri ( C#) Ders 6 &#8211; Hata Yakalama ( Exception Handling) Mekanizmasi"},"content":{"rendered":"<p>\n<meta content=\"text\/html; charset=utf-8\" http-equiv=\"Content-Type\">\n<meta content=\"Word.Document\" name=\"ProgId\">\n<meta content=\"Microsoft Word 12\" name=\"Generator\">\n<meta content=\"Microsoft Word 12\" name=\"Originator\">\n<link href=\"file:\/\/\/C:\\Users\\tt\\AppData\\Local\\Temp\\msohtmlclip1\\01\\clip_filelist.xml\" rel=\"File-List\" \/>\n<link href=\"file:\/\/\/C:\\Users\\tt\\AppData\\Local\\Temp\\msohtmlclip1\\01\\clip_themedata.thmx\" rel=\"themeData\" \/>\n<link href=\"file:\/\/\/C:\\Users\\tt\\AppData\\Local\\Temp\\msohtmlclip1\\01\\clip_colorschememapping.xml\" rel=\"colorSchemeMapping\" \/><!--[if gte mso 9]><xml>\n<w:WordDocument>\n<w:View>Normal<\/w:View>\n<w:Zoom>0<\/w:Zoom>\n<w:TrackMoves \/>\n<w:TrackFormatting \/>\n<w:HyphenationZone>21<\/w:HyphenationZone>\n<w:PunctuationKerning \/>\n<w:ValidateAgainstSchemas \/>\n<w:SaveIfXMLInvalid>false<\/w:SaveIfXMLInvalid>\n<w:IgnoreMixedContent>false<\/w:IgnoreMixedContent>\n<w:AlwaysShowPlaceholderText>false<\/w:AlwaysShowPlaceholderText>\n<w:DoNotPromoteQF \/>\n<w:LidThemeOther>TR<\/w:LidThemeOther>\n<w:LidThemeAsian>X-NONE<\/w:LidThemeAsian>\n<w:LidThemeComplexScript>X-NONE<\/w:LidThemeComplexScript>\n<w:Compatibility>\n<w:BreakWrappedTables \/>\n<w:SnapToGridInCell \/>\n<w:WrapTextWithPunct \/>\n<w:UseAsianBreakRules \/>\n<w:DontGrowAutofit \/>\n<w:SplitPgBreakAndParaMark \/>\n<w:DontVertAlignCellWithSp \/>\n<w:DontBreakConstrainedForcedTables \/>\n<w:DontVertAlignInTxbx \/>\n<w:Word11KerningPairs \/>\n<w:CachedColBalance \/>\n<\/w:Compatibility>\n<m:mathPr>\n<m:mathFont m:val=\"Cambria Math\" \/>\n<m:brkBin m:val=\"before\" \/>\n<m:brkBinSub m:val=\"&#45;-\" \/>\n<m:smallFrac m:val=\"off\" \/>\n<m:dispDef \/>\n<m:lMargin m:val=\"0\" \/>\n<m:rMargin m:val=\"0\" \/>\n<m:defJc m:val=\"centerGroup\" \/>\n<m:wrapIndent m:val=\"1440\" \/>\n<m:intLim m:val=\"subSup\" \/>\n<m:naryLim m:val=\"undOvr\" \/>\n<\/m:mathPr><\/w:WordDocument>\n<\/xml><![endif]--><!--[if gte mso 9]><xml>\n<w:LatentStyles DefLockedState=\"false\" DefUnhideWhenUsed=\"true\"\nDefSemiHidden=\"true\" DefQFormat=\"false\" DefPriority=\"99\"\nLatentStyleCount=\"267\">\n<w:LsdException Locked=\"false\" Priority=\"0\" SemiHidden=\"false\"\nUnhideWhenUsed=\"false\" QFormat=\"true\" Name=\"Normal\" \/>\n<w:LsdException Locked=\"false\" Priority=\"9\" SemiHidden=\"false\"\nUnhideWhenUsed=\"false\" QFormat=\"true\" Name=\"heading 1\" \/>\n<w:LsdException Locked=\"false\" Priority=\"9\" QFormat=\"true\" Name=\"heading 2\" \/>\n<w:LsdException Locked=\"false\" Priority=\"9\" QFormat=\"true\" Name=\"heading 3\" \/>\n<w:LsdException Locked=\"false\" Priority=\"9\" QFormat=\"true\" Name=\"heading 4\" \/>\n<w:LsdException Locked=\"false\" Priority=\"9\" QFormat=\"true\" Name=\"heading 5\" \/>\n<w:LsdException Locked=\"false\" Priority=\"9\" QFormat=\"true\" Name=\"heading 6\" \/>\n<w:LsdException Locked=\"false\" Priority=\"9\" QFormat=\"true\" Name=\"heading 7\" \/>\n<w:LsdException Locked=\"false\" Priority=\"9\" QFormat=\"true\" Name=\"heading 8\" \/>\n<w:LsdException Locked=\"false\" Priority=\"9\" QFormat=\"true\" Name=\"heading 9\" \/>\n<w:LsdException Locked=\"false\" Priority=\"39\" Name=\"toc 1\" \/>\n<w:LsdException Locked=\"false\" Priority=\"39\" Name=\"toc 2\" \/>\n<w:LsdException Locked=\"false\" Priority=\"39\" Name=\"toc 3\" \/>\n<w:LsdException Locked=\"false\" Priority=\"39\" Name=\"toc 4\" \/>\n<w:LsdException Locked=\"false\" Priority=\"39\" Name=\"toc 5\" \/>\n<w:LsdException Locked=\"false\" Priority=\"39\" Name=\"toc 6\" \/>\n<w:LsdException Locked=\"false\" Priority=\"39\" Name=\"toc 7\" \/>\n<w:LsdException Locked=\"false\" Priority=\"39\" Name=\"toc 8\" \/>\n<w:LsdException Locked=\"false\" Priority=\"39\" Name=\"toc 9\" \/>\n<w:LsdException Locked=\"false\" Priority=\"35\" QFormat=\"true\" Name=\"caption\" \/>\n<w:LsdException Locked=\"false\" Priority=\"10\" SemiHidden=\"false\"\nUnhideWhenUsed=\"false\" QFormat=\"true\" Name=\"Title\" \/>\n<w:LsdException Locked=\"false\" Priority=\"1\" Name=\"Default Paragraph Font\" \/>\n<w:LsdException Locked=\"false\" Priority=\"11\" SemiHidden=\"false\"\nUnhideWhenUsed=\"false\" QFormat=\"true\" Name=\"Subtitle\" \/>\n<w:LsdException Locked=\"false\" Priority=\"22\" SemiHidden=\"false\"\nUnhideWhenUsed=\"false\" QFormat=\"true\" Name=\"Strong\" \/>\n<w:LsdException Locked=\"false\" Priority=\"20\" SemiHidden=\"false\"\nUnhideWhenUsed=\"false\" QFormat=\"true\" Name=\"Emphasis\" \/>\n<w:LsdException Locked=\"false\" Priority=\"59\" SemiHidden=\"false\"\nUnhideWhenUsed=\"false\" Name=\"Table Grid\" \/>\n<w:LsdException Locked=\"false\" UnhideWhenUsed=\"false\" Name=\"Placeholder Text\" \/>\n<w:LsdException Locked=\"false\" Priority=\"1\" SemiHidden=\"false\"\nUnhideWhenUsed=\"false\" QFormat=\"true\" Name=\"No Spacing\" \/>\n<w:LsdException Locked=\"false\" Priority=\"60\" SemiHidden=\"false\"\nUnhideWhenUsed=\"false\" Name=\"Light Shading\" \/>\n<w:LsdException Locked=\"false\" Priority=\"61\" SemiHidden=\"false\"\nUnhideWhenUsed=\"false\" Name=\"Light List\" \/>\n<w:LsdException Locked=\"false\" Priority=\"62\" SemiHidden=\"false\"\nUnhideWhenUsed=\"false\" Name=\"Light Grid\" \/>\n<w:LsdException Locked=\"false\" Priority=\"63\" SemiHidden=\"false\"\nUnhideWhenUsed=\"false\" Name=\"Medium Shading 1\" \/>\n<w:LsdException Locked=\"false\" Priority=\"64\" SemiHidden=\"false\"\nUnhideWhenUsed=\"false\" Name=\"Medium Shading 2\" \/>\n<w:LsdException Locked=\"false\" Priority=\"65\" SemiHidden=\"false\"\nUnhideWhenUsed=\"false\" Name=\"Medium List 1\" \/>\n<w:LsdException Locked=\"false\" Priority=\"66\" SemiHidden=\"false\"\nUnhideWhenUsed=\"false\" Name=\"Medium List 2\" \/>\n<w:LsdException Locked=\"false\" Priority=\"67\" SemiHidden=\"false\"\nUnhideWhenUsed=\"false\" Name=\"Medium Grid 1\" \/>\n<w:LsdException Locked=\"false\" Priority=\"68\" SemiHidden=\"false\"\nUnhideWhenUsed=\"false\" Name=\"Medium Grid 2\" \/>\n<w:LsdException Locked=\"false\" Priority=\"69\" SemiHidden=\"false\"\nUnhideWhenUsed=\"false\" Name=\"Medium Grid 3\" \/>\n<w:LsdException Locked=\"false\" Priority=\"70\" SemiHidden=\"false\"\nUnhideWhenUsed=\"false\" Name=\"Dark List\" \/>\n<w:LsdException Locked=\"false\" Priority=\"71\" SemiHidden=\"false\"\nUnhideWhenUsed=\"false\" Name=\"Colorful Shading\" \/>\n<w:LsdException Locked=\"false\" Priority=\"72\" SemiHidden=\"false\"\nUnhideWhenUsed=\"false\" Name=\"Colorful List\" \/>\n<w:LsdException Locked=\"false\" Priority=\"73\" SemiHidden=\"false\"\nUnhideWhenUsed=\"false\" Name=\"Colorful Grid\" \/>\n<w:LsdException Locked=\"false\" Priority=\"60\" SemiHidden=\"false\"\nUnhideWhenUsed=\"false\" Name=\"Light Shading Accent 1\" \/>\n<w:LsdException Locked=\"false\" Priority=\"61\" SemiHidden=\"false\"\nUnhideWhenUsed=\"false\" Name=\"Light List Accent 1\" \/>\n<w:LsdException Locked=\"false\" Priority=\"62\" SemiHidden=\"false\"\nUnhideWhenUsed=\"false\" Name=\"Light Grid Accent 1\" \/>\n<w:LsdException Locked=\"false\" Priority=\"63\" SemiHidden=\"false\"\nUnhideWhenUsed=\"false\" Name=\"Medium Shading 1 Accent 1\" \/>\n<w:LsdException Locked=\"false\" Priority=\"64\" SemiHidden=\"false\"\nUnhideWhenUsed=\"false\" Name=\"Medium Shading 2 Accent 1\" \/>\n<w:LsdException Locked=\"false\" Priority=\"65\" SemiHidden=\"false\"\nUnhideWhenUsed=\"false\" Name=\"Medium List 1 Accent 1\" \/>\n<w:LsdException Locked=\"false\" UnhideWhenUsed=\"false\" Name=\"Revision\" \/>\n<w:LsdException Locked=\"false\" Priority=\"34\" SemiHidden=\"false\"\nUnhideWhenUsed=\"false\" QFormat=\"true\" Name=\"List Paragraph\" \/>\n<w:LsdException Locked=\"false\" Priority=\"29\" SemiHidden=\"false\"\nUnhideWhenUsed=\"false\" QFormat=\"true\" Name=\"Quote\" \/>\n<w:LsdException Locked=\"false\" Priority=\"30\" SemiHidden=\"false\"\nUnhideWhenUsed=\"false\" QFormat=\"true\" Name=\"Intense Quote\" \/>\n<w:LsdException Locked=\"false\" Priority=\"66\" SemiHidden=\"false\"\nUnhideWhenUsed=\"false\" Name=\"Medium List 2 Accent 1\" \/>\n<w:LsdException Locked=\"false\" Priority=\"67\" SemiHidden=\"false\"\nUnhideWhenUsed=\"false\" Name=\"Medium Grid 1 Accent 1\" \/>\n<w:LsdException Locked=\"false\" Priority=\"68\" SemiHidden=\"false\"\nUnhideWhenUsed=\"false\" Name=\"Medium Grid 2 Accent 1\" \/>\n<w:LsdException Locked=\"false\" Priority=\"69\" SemiHidden=\"false\"\nUnhideWhenUsed=\"false\" Name=\"Medium Grid 3 Accent 1\" \/>\n<w:LsdException Locked=\"false\" Priority=\"70\" SemiHidden=\"false\"\nUnhideWhenUsed=\"false\" Name=\"Dark List Accent 1\" \/>\n<w:LsdException Locked=\"false\" Priority=\"71\" SemiHidden=\"false\"\nUnhideWhenUsed=\"false\" Name=\"Colorful Shading Accent 1\" \/>\n<w:LsdException Locked=\"false\" Priority=\"72\" SemiHidden=\"false\"\nUnhideWhenUsed=\"false\" Name=\"Colorful List Accent 1\" \/>\n<w:LsdException Locked=\"false\" Priority=\"73\" SemiHidden=\"false\"\nUnhideWhenUsed=\"false\" Name=\"Colorful Grid Accent 1\" \/>\n<w:LsdException Locked=\"false\" Priority=\"60\" SemiHidden=\"false\"\nUnhideWhenUsed=\"false\" Name=\"Light Shading Accent 2\" \/>\n<w:LsdException Locked=\"false\" Priority=\"61\" SemiHidden=\"false\"\nUnhideWhenUsed=\"false\" Name=\"Light List Accent 2\" \/>\n<w:LsdException Locked=\"false\" Priority=\"62\" SemiHidden=\"false\"\nUnhideWhenUsed=\"false\" Name=\"Light Grid Accent 2\" \/>\n<w:LsdException Locked=\"false\" Priority=\"63\" SemiHidden=\"false\"\nUnhideWhenUsed=\"false\" Name=\"Medium Shading 1 Accent 2\" \/>\n<w:LsdException Locked=\"false\" Priority=\"64\" SemiHidden=\"false\"\nUnhideWhenUsed=\"false\" Name=\"Medium Shading 2 Accent 2\" \/>\n<w:LsdException Locked=\"false\" Priority=\"65\" SemiHidden=\"false\"\nUnhideWhenUsed=\"false\" Name=\"Medium List 1 Accent 2\" \/>\n<w:LsdException Locked=\"false\" Priority=\"66\" SemiHidden=\"false\"\nUnhideWhenUsed=\"false\" Name=\"Medium List 2 Accent 2\" \/>\n<w:LsdException Locked=\"false\" Priority=\"67\" SemiHidden=\"false\"\nUnhideWhenUsed=\"false\" Name=\"Medium Grid 1 Accent 2\" \/>\n<w:LsdException Locked=\"false\" Priority=\"68\" SemiHidden=\"false\"\nUnhideWhenUsed=\"false\" Name=\"Medium Grid 2 Accent 2\" \/>\n<w:LsdException Locked=\"false\" Priority=\"69\" SemiHidden=\"false\"\nUnhideWhenUsed=\"false\" Name=\"Medium Grid 3 Accent 2\" \/>\n<w:LsdException Locked=\"false\" Priority=\"70\" SemiHidden=\"false\"\nUnhideWhenUsed=\"false\" Name=\"Dark List Accent 2\" \/>\n<w:LsdException Locked=\"false\" Priority=\"71\" SemiHidden=\"false\"\nUnhideWhenUsed=\"false\" Name=\"Colorful Shading Accent 2\" \/>\n<w:LsdException Locked=\"false\" Priority=\"72\" SemiHidden=\"false\"\nUnhideWhenUsed=\"false\" Name=\"Colorful List Accent 2\" \/>\n<w:LsdException Locked=\"false\" Priority=\"73\" SemiHidden=\"false\"\nUnhideWhenUsed=\"false\" Name=\"Colorful Grid Accent 2\" \/>\n<w:LsdException Locked=\"false\" Priority=\"60\" SemiHidden=\"false\"\nUnhideWhenUsed=\"false\" Name=\"Light Shading Accent 3\" \/>\n<w:LsdException Locked=\"false\" Priority=\"61\" SemiHidden=\"false\"\nUnhideWhenUsed=\"false\" Name=\"Light List Accent 3\" \/>\n<w:LsdException Locked=\"false\" Priority=\"62\" SemiHidden=\"false\"\nUnhideWhenUsed=\"false\" Name=\"Light Grid Accent 3\" \/>\n<w:LsdException Locked=\"false\" Priority=\"63\" SemiHidden=\"false\"\nUnhideWhenUsed=\"false\" Name=\"Medium Shading 1 Accent 3\" \/>\n<w:LsdException Locked=\"false\" Priority=\"64\" SemiHidden=\"false\"\nUnhideWhenUsed=\"false\" Name=\"Medium Shading 2 Accent 3\" \/>\n<w:LsdException Locked=\"false\" Priority=\"65\" SemiHidden=\"false\"\nUnhideWhenUsed=\"false\" Name=\"Medium List 1 Accent 3\" \/>\n<w:LsdException Locked=\"false\" Priority=\"66\" SemiHidden=\"false\"\nUnhideWhenUsed=\"false\" Name=\"Medium List 2 Accent 3\" \/>\n<w:LsdException Locked=\"false\" Priority=\"67\" SemiHidden=\"false\"\nUnhideWhenUsed=\"false\" Name=\"Medium Grid 1 Accent 3\" \/>\n<w:LsdException Locked=\"false\" Priority=\"68\" SemiHidden=\"false\"\nUnhideWhenUsed=\"false\" Name=\"Medium Grid 2 Accent 3\" \/>\n<w:LsdException Locked=\"false\" Priority=\"69\" SemiHidden=\"false\"\nUnhideWhenUsed=\"false\" Name=\"Medium Grid 3 Accent 3\" \/>\n<w:LsdException Locked=\"false\" Priority=\"70\" SemiHidden=\"false\"\nUnhideWhenUsed=\"false\" Name=\"Dark List Accent 3\" \/>\n<w:LsdException Locked=\"false\" Priority=\"71\" SemiHidden=\"false\"\nUnhideWhenUsed=\"false\" Name=\"Colorful Shading Accent 3\" \/>\n<w:LsdException Locked=\"false\" Priority=\"72\" SemiHidden=\"false\"\nUnhideWhenUsed=\"false\" Name=\"Colorful List Accent 3\" \/>\n<w:LsdException Locked=\"false\" Priority=\"73\" SemiHidden=\"false\"\nUnhideWhenUsed=\"false\" Name=\"Colorful Grid Accent 3\" \/>\n<w:LsdException Locked=\"false\" Priority=\"60\" SemiHidden=\"false\"\nUnhideWhenUsed=\"false\" Name=\"Light Shading Accent 4\" \/>\n<w:LsdException Locked=\"false\" Priority=\"61\" SemiHidden=\"false\"\nUnhideWhenUsed=\"false\" Name=\"Light List Accent 4\" \/>\n<w:LsdException Locked=\"false\" Priority=\"62\" SemiHidden=\"false\"\nUnhideWhenUsed=\"false\" Name=\"Light Grid Accent 4\" \/>\n<w:LsdException Locked=\"false\" Priority=\"63\" SemiHidden=\"false\"\nUnhideWhenUsed=\"false\" Name=\"Medium Shading 1 Accent 4\" \/>\n<w:LsdException Locked=\"false\" Priority=\"64\" SemiHidden=\"false\"\nUnhideWhenUsed=\"false\" Name=\"Medium Shading 2 Accent 4\" \/>\n<w:LsdException Locked=\"false\" Priority=\"65\" SemiHidden=\"false\"\nUnhideWhenUsed=\"false\" Name=\"Medium List 1 Accent 4\" \/>\n<w:LsdException Locked=\"false\" Priority=\"66\" SemiHidden=\"false\"\nUnhideWhenUsed=\"false\" Name=\"Medium List 2 Accent 4\" \/>\n<w:LsdException Locked=\"false\" Priority=\"67\" SemiHidden=\"false\"\nUnhideWhenUsed=\"false\" Name=\"Medium Grid 1 Accent 4\" \/>\n<w:LsdException Locked=\"false\" Priority=\"68\" SemiHidden=\"false\"\nUnhideWhenUsed=\"false\" Name=\"Medium Grid 2 Accent 4\" \/>\n<w:LsdException Locked=\"false\" Priority=\"69\" SemiHidden=\"false\"\nUnhideWhenUsed=\"false\" Name=\"Medium Grid 3 Accent 4\" \/>\n<w:LsdException Locked=\"false\" Priority=\"70\" SemiHidden=\"false\"\nUnhideWhenUsed=\"false\" Name=\"Dark List Accent 4\" \/>\n<w:LsdException Locked=\"false\" Priority=\"71\" SemiHidden=\"false\"\nUnhideWhenUsed=\"false\" Name=\"Colorful Shading Accent 4\" \/>\n<w:LsdException Locked=\"false\" Priority=\"72\" SemiHidden=\"false\"\nUnhideWhenUsed=\"false\" Name=\"Colorful List Accent 4\" \/>\n<w:LsdException Locked=\"false\" Priority=\"73\" SemiHidden=\"false\"\nUnhideWhenUsed=\"false\" Name=\"Colorful Grid Accent 4\" \/>\n<w:LsdException Locked=\"false\" Priority=\"60\" SemiHidden=\"false\"\nUnhideWhenUsed=\"false\" Name=\"Light Shading Accent 5\" \/>\n<w:LsdException Locked=\"false\" Priority=\"61\" SemiHidden=\"false\"\nUnhideWhenUsed=\"false\" Name=\"Light List Accent 5\" \/>\n<w:LsdException Locked=\"false\" Priority=\"62\" SemiHidden=\"false\"\nUnhideWhenUsed=\"false\" Name=\"Light Grid Accent 5\" \/>\n<w:LsdException Locked=\"false\" Priority=\"63\" SemiHidden=\"false\"\nUnhideWhenUsed=\"false\" Name=\"Medium Shading 1 Accent 5\" \/>\n<w:LsdException Locked=\"false\" Priority=\"64\" SemiHidden=\"false\"\nUnhideWhenUsed=\"false\" Name=\"Medium Shading 2 Accent 5\" \/>\n<w:LsdException Locked=\"false\" Priority=\"65\" SemiHidden=\"false\"\nUnhideWhenUsed=\"false\" Name=\"Medium List 1 Accent 5\" \/>\n<w:LsdException Locked=\"false\" Priority=\"66\" SemiHidden=\"false\"\nUnhideWhenUsed=\"false\" Name=\"Medium List 2 Accent 5\" \/>\n<w:LsdException Locked=\"false\" Priority=\"67\" SemiHidden=\"false\"\nUnhideWhenUsed=\"false\" Name=\"Medium Grid 1 Accent 5\" \/>\n<w:LsdException Locked=\"false\" Priority=\"68\" SemiHidden=\"false\"\nUnhideWhenUsed=\"false\" Name=\"Medium Grid 2 Accent 5\" \/>\n<w:LsdException Locked=\"false\" Priority=\"69\" SemiHidden=\"false\"\nUnhideWhenUsed=\"false\" Name=\"Medium Grid 3 Accent 5\" \/>\n<w:LsdException Locked=\"false\" Priority=\"70\" SemiHidden=\"false\"\nUnhideWhenUsed=\"false\" Name=\"Dark List Accent 5\" \/>\n<w:LsdException Locked=\"false\" Priority=\"71\" SemiHidden=\"false\"\nUnhideWhenUsed=\"false\" Name=\"Colorful Shading Accent 5\" \/>\n<w:LsdException Locked=\"false\" Priority=\"72\" SemiHidden=\"false\"\nUnhideWhenUsed=\"false\" Name=\"Colorful List Accent 5\" \/>\n<w:LsdException Locked=\"false\" Priority=\"73\" SemiHidden=\"false\"\nUnhideWhenUsed=\"false\" Name=\"Colorful Grid Accent 5\" \/>\n<w:LsdException Locked=\"false\" Priority=\"60\" SemiHidden=\"false\"\nUnhideWhenUsed=\"false\" Name=\"Light Shading Accent 6\" \/>\n<w:LsdException Locked=\"false\" Priority=\"61\" SemiHidden=\"false\"\nUnhideWhenUsed=\"false\" Name=\"Light List Accent 6\" \/>\n<w:LsdException Locked=\"false\" Priority=\"62\" SemiHidden=\"false\"\nUnhideWhenUsed=\"false\" Name=\"Light Grid Accent 6\" \/>\n<w:LsdException Locked=\"false\" Priority=\"63\" SemiHidden=\"false\"\nUnhideWhenUsed=\"false\" Name=\"Medium Shading 1 Accent 6\" \/>\n<w:LsdException Locked=\"false\" Priority=\"64\" SemiHidden=\"false\"\nUnhideWhenUsed=\"false\" Name=\"Medium Shading 2 Accent 6\" \/>\n<w:LsdException Locked=\"false\" Priority=\"65\" SemiHidden=\"false\"\nUnhideWhenUsed=\"false\" Name=\"Medium List 1 Accent 6\" \/>\n<w:LsdException Locked=\"false\" Priority=\"66\" SemiHidden=\"false\"\nUnhideWhenUsed=\"false\" Name=\"Medium List 2 Accent 6\" \/>\n<w:LsdException Locked=\"false\" Priority=\"67\" SemiHidden=\"false\"\nUnhideWhenUsed=\"false\" Name=\"Medium Grid 1 Accent 6\" \/>\n<w:LsdException Locked=\"false\" Priority=\"68\" SemiHidden=\"false\"\nUnhideWhenUsed=\"false\" Name=\"Medium Grid 2 Accent 6\" \/>\n<w:LsdException Locked=\"false\" Priority=\"69\" SemiHidden=\"false\"\nUnhideWhenUsed=\"false\" Name=\"Medium Grid 3 Accent 6\" \/>\n<w:LsdException Locked=\"false\" Priority=\"70\" SemiHidden=\"false\"\nUnhideWhenUsed=\"false\" Name=\"Dark List Accent 6\" \/>\n<w:LsdException Locked=\"false\" Priority=\"71\" SemiHidden=\"false\"\nUnhideWhenUsed=\"false\" Name=\"Colorful Shading Accent 6\" \/>\n<w:LsdException Locked=\"false\" Priority=\"72\" SemiHidden=\"false\"\nUnhideWhenUsed=\"false\" Name=\"Colorful List Accent 6\" \/>\n<w:LsdException Locked=\"false\" Priority=\"73\" SemiHidden=\"false\"\nUnhideWhenUsed=\"false\" Name=\"Colorful Grid Accent 6\" \/>\n<w:LsdException Locked=\"false\" Priority=\"19\" SemiHidden=\"false\"\nUnhideWhenUsed=\"false\" QFormat=\"true\" Name=\"Subtle Emphasis\" \/>\n<w:LsdException Locked=\"false\" Priority=\"21\" SemiHidden=\"false\"\nUnhideWhenUsed=\"false\" QFormat=\"true\" Name=\"Intense Emphasis\" \/>\n<w:LsdException Locked=\"false\" Priority=\"31\" SemiHidden=\"false\"\nUnhideWhenUsed=\"false\" QFormat=\"true\" Name=\"Subtle Reference\" \/>\n<w:LsdException Locked=\"false\" Priority=\"32\" SemiHidden=\"false\"\nUnhideWhenUsed=\"false\" QFormat=\"true\" Name=\"Intense Reference\" \/>\n<w:LsdException Locked=\"false\" Priority=\"33\" SemiHidden=\"false\"\nUnhideWhenUsed=\"false\" QFormat=\"true\" Name=\"Book Title\" \/>\n<w:LsdException Locked=\"false\" Priority=\"37\" Name=\"Bibliography\" \/>\n<w:LsdException Locked=\"false\" Priority=\"39\" QFormat=\"true\" Name=\"TOC Heading\" \/>\n<\/w:LatentStyles>\n<\/xml><![endif]--><style type=\"text\/css\">\n<!--\n \/* Font Definitions *\/\n @font-face\n\t{font-family:\"Cambria Math\";\n\tpanose-1:2 4 5 3 5 4 6 3 2 4;\n\tmso-font-charset:162;\n\tmso-generic-font-family:roman;\n\tmso-font-pitch:variable;\n\tmso-font-signature:-1610611985 1107304683 0 0 159 0;}\n@font-face\n\t{font-family:Calibri;\n\tpanose-1:2 15 5 2 2 2 4 3 2 4;\n\tmso-font-charset:162;\n\tmso-generic-font-family:swiss;\n\tmso-font-pitch:variable;\n\tmso-font-signature:-1610611985 1073750139 0 0 159 0;}\n@font-face\n\t{font-family:\"Segoe UI\";\n\tpanose-1:2 11 5 2 4 2 4 2 2 3;\n\tmso-font-charset:162;\n\tmso-generic-font-family:swiss;\n\tmso-font-pitch:variable;\n\tmso-font-signature:-536861953 -1073733541 9 0 479 0;}\n \/* Style Definitions *\/\n p.MsoNormal, li.MsoNormal, div.MsoNormal\n\t{mso-style-unhide:no;\n\tmso-style-qformat:yes;\n\tmso-style-parent:\"\";\n\tmargin-top:0cm;\n\tmargin-right:0cm;\n\tmargin-bottom:10.0pt;\n\tmargin-left:0cm;\n\tline-height:115%;\n\tmso-pagination:widow-orphan;\n\tfont-size:11.0pt;\n\tfont-family:\"Calibri\",\"sans-serif\";\n\tmso-ascii-font-family:Calibri;\n\tmso-ascii-theme-font:minor-latin;\n\tmso-fareast-font-family:Calibri;\n\tmso-fareast-theme-font:minor-latin;\n\tmso-hansi-font-family:Calibri;\n\tmso-hansi-theme-font:minor-latin;\n\tmso-bidi-font-family:\"Times New Roman\";\n\tmso-bidi-theme-font:minor-bidi;\n\tmso-fareast-language:EN-US;}\np.MsoNoSpacing, li.MsoNoSpacing, div.MsoNoSpacing\n\t{mso-style-priority:1;\n\tmso-style-unhide:no;\n\tmso-style-qformat:yes;\n\tmso-style-parent:\"\";\n\tmso-style-link:\"Aralik Yok Char\";\n\tmargin:0cm;\n\tmargin-bottom:.0001pt;\n\tmso-pagination:widow-orphan;\n\tfont-size:11.0pt;\n\tfont-family:\"Calibri\",\"sans-serif\";\n\tmso-ascii-font-family:Calibri;\n\tmso-ascii-theme-font:minor-latin;\n\tmso-fareast-font-family:Calibri;\n\tmso-fareast-theme-font:minor-latin;\n\tmso-hansi-font-family:Calibri;\n\tmso-hansi-theme-font:minor-latin;\n\tmso-bidi-font-family:\"Times New Roman\";\n\tmso-bidi-theme-font:minor-bidi;\n\tmso-ansi-language:NL-BE;\n\tmso-fareast-language:EN-US;}\nspan.AralkYokChar\n\t{mso-style-name:\"Aralik Yok Char\";\n\tmso-style-priority:1;\n\tmso-style-unhide:no;\n\tmso-style-locked:yes;\n\tmso-style-link:\"Aralik Yok\";\n\tmso-ansi-language:NL-BE;}\n.MsoChpDefault\n\t{mso-style-type:export-only;\n\tmso-default-props:yes;\n\tmso-ascii-font-family:Calibri;\n\tmso-ascii-theme-font:minor-latin;\n\tmso-fareast-font-family:Calibri;\n\tmso-fareast-theme-font:minor-latin;\n\tmso-hansi-font-family:Calibri;\n\tmso-hansi-theme-font:minor-latin;\n\tmso-bidi-font-family:\"Times New Roman\";\n\tmso-bidi-theme-font:minor-bidi;\n\tmso-fareast-language:EN-US;}\n.MsoPapDefault\n\t{mso-style-type:export-only;\n\tmargin-bottom:10.0pt;\n\tline-height:115%;}\n@page Section1\n\t{size:595.3pt 841.9pt;\n\tmargin:70.85pt 70.85pt 70.85pt 70.85pt;\n\tmso-header-margin:35.4pt;\n\tmso-footer-margin:35.4pt;\n\tmso-paper-source:0;}\ndiv.Section1\n\t{page:Section1;}\n-->\n<\/style><!--[if gte mso 10]>\n<style>\n\/* Style Definitions *\/\ntable.MsoNormalTable\n{mso-style-name:\"Normal Tablo\";\nmso-tstyle-rowband-size:0;\nmso-tstyle-colband-size:0;\nmso-style-noshow:yes;\nmso-style-priority:99;\nmso-style-qformat:yes;\nmso-style-parent:\"\";\nmso-padding-alt:0cm 5.4pt 0cm 5.4pt;\nmso-para-margin-top:0cm;\nmso-para-margin-right:0cm;\nmso-para-margin-bottom:10.0pt;\nmso-para-margin-left:0cm;\nline-height:115%;\nmso-pagination:widow-orphan;\nfont-size:11.0pt;\nfont-family:\"Calibri\",\"sans-serif\";\nmso-ascii-font-family:Calibri;\nmso-ascii-theme-font:minor-latin;\nmso-fareast-font-family:\"Times New Roman\";\nmso-fareast-theme-font:minor-fareast;\nmso-hansi-font-family:Calibri;\nmso-hansi-theme-font:minor-latin;}\ntable.MsoTableGrid\n{mso-style-name:\"Tablo Kilavuzu\";\nmso-tstyle-rowband-size:0;\nmso-tstyle-colband-size:0;\nmso-style-priority:59;\nmso-style-unhide:no;\nborder:solid black 1.0pt;\nmso-border-themecolor:text1;\nmso-border-alt:solid black .5pt;\nmso-border-themecolor:text1;\nmso-padding-alt:0cm 5.4pt 0cm 5.4pt;\nmso-border-insideh:.5pt solid black;\nmso-border-insideh-themecolor:text1;\nmso-border-insidev:.5pt solid black;\nmso-border-insidev-themecolor:text1;\nmso-para-margin:0cm;\nmso-para-margin-bottom:.0001pt;\nmso-pagination:widow-orphan;\nfont-size:11.0pt;\nfont-family:\"Calibri\",\"sans-serif\";\nmso-ascii-font-family:Calibri;\nmso-ascii-theme-font:minor-latin;\nmso-hansi-font-family:Calibri;\nmso-hansi-theme-font:minor-latin;\nmso-ansi-language:NL-BE;\nmso-fareast-language:EN-US;}\n<\/style>\n<![endif]-->     <\/meta>\n<\/meta>\n<\/meta>\n<\/meta>\n<\/p>\n<p class=\"MsoNormal\"><b style=\"\">Hata Yakalama (Exception Handling)<o:p><\/o:p><\/b><\/p>\n<p class=\"MsoNormal\">Bu dersimizde C# da Exception(hata) mekanizmasini &ouml;grenecegiz. Farkli exceptionlari nasil yakalayacagimiz &uuml;zerinde duracagiz. Sonraki dersimizde ise kendi exceptionlarimizi nasil &uuml;retecegimizi &ouml;grenecegiz.<\/p>\n<p class=\"MsoNormal\">Basit ifade ile .NET de hata yakalama, run-time aninda olusan ve programimizi sonlandiracak olan hatalari yakalamamizi saglayan bir mekanizmadir.<\/p>\n<p class=\"MsoNormal\">Basit bir kodla ilk hatamizi anlamaya &ccedil;alisalim.<\/p>\n<table cellspacing=\"0\" cellpadding=\"0\" border=\"1\" style=\"border: medium none ; background: rgb(242, 242, 242) none repeat scroll 0% 0%; margin-left: 5.4pt; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous; border-collapse: collapse;\" class=\"MsoTableGrid\">\n    <tbody>\n        <tr style=\"\">\n            <td width=\"576\" valign=\"top\" style=\"border: 1pt solid black; padding: 0cm 5.4pt; width: 432.35pt;\">\n            <p style=\"margin-bottom: 0.0001pt; line-height: normal;\" class=\"MsoNormal\"><span lang=\"NL-BE\" style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: blue;\">static<\/span><span lang=\"NL-BE\" style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\"> <span style=\"color: blue;\">void<\/span> Main(<span style=\"color: blue;\">string<\/span>[]   args)<o:p><\/o:p><\/span><\/p>\n            <p style=\"margin-bottom: 0.0001pt; line-height: normal;\" class=\"MsoNormal\"><span lang=\"NL-BE\" style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\">{<o:p><\/o:p><\/span><\/p>\n            <p style=\"margin-bottom: 0.0001pt; line-height: normal;\" class=\"MsoNormal\"><span lang=\"NL-BE\" style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: blue;\"><span style=\"\">&nbsp;&nbsp;&nbsp; <\/span>string<\/span><span lang=\"NL-BE\" style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\"> metin = <span style=\"color: rgb(163, 21, 21);\">&quot;yazilimmutfagi&quot;<\/span>;<o:p><\/o:p><\/span><\/p>\n            <p style=\"margin-bottom: 0.0001pt; line-height: normal;\" class=\"MsoNormal\"><span lang=\"NL-BE\" style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\"><span style=\"\">&nbsp; <\/span><span style=\"\">&nbsp;&nbsp;<\/span><span style=\"color: blue;\">int<\/span> i = 5;<o:p><\/o:p><\/span><\/p>\n            <p class=\"MsoNoSpacing\"><span lang=\"NL-BE\" style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\"><span style=\"\">&nbsp;&nbsp;&nbsp; <\/span><span style=\"color: rgb(43, 145, 175);\">Console<\/span>.WriteLine(metin[i]);<o:p><\/o:p><\/span><\/p>\n            <p class=\"MsoNoSpacing\"><span lang=\"NL-BE\" style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\">}<\/span><span lang=\"NL-BE\" style=\"font-size: 10pt; font-family: &quot;Segoe UI&quot;,&quot;sans-serif&quot;;\"><o:p><\/o:p><\/span><\/p>\n            <\/td>\n        <\/tr>\n    <\/tbody>\n<\/table>\n<p class=\"MsoNormal\"><br \/>\nYukarida verilen &ouml;rnek de. Main fonksiyonu i&ccedil;inde metin diye bir string olusturdum ve bu stringin 5. Karakterini ekrana bastik. Ekran &ccedil;iktisi asagidaki gibi oldu.<\/p>\n<table cellspacing=\"0\" cellpadding=\"0\" border=\"1\" style=\"border: medium none ; background: black none repeat scroll 0% 0%; margin-left: 5.4pt; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous; border-collapse: collapse;\" class=\"MsoTableGrid\">\n    <tbody>\n        <tr style=\"\">\n            <td width=\"576\" valign=\"top\" style=\"border: 1pt solid black; padding: 0cm 5.4pt; width: 432.35pt;\">\n            <p style=\"margin-bottom: 0.0001pt; line-height: normal;\" class=\"MsoNormal\"><span lang=\"NL-BE\" style=\"color: white;\">i<o:p><\/o:p><\/span><\/p>\n            <p style=\"margin-bottom: 0.0001pt; line-height: normal;\" class=\"MsoNormal\"><span lang=\"NL-BE\" style=\"color: white;\">Devam etmek i&ccedil;in bir tusa basin . . .<\/span><span lang=\"NL-BE\" style=\"\"><o:p><\/o:p><\/span><\/p>\n            <\/td>\n        <\/tr>\n    <\/tbody>\n<\/table>\n<p class=\"MsoNormal\"><br \/>\nPeki, Main i&ccedil;indeki kodu asagidaki gibi degistirirsek?<\/p>\n<table cellspacing=\"0\" cellpadding=\"0\" border=\"1\" style=\"border: medium none ; background: rgb(242, 242, 242) none repeat scroll 0% 0%; margin-left: 5.4pt; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous; border-collapse: collapse;\" class=\"MsoTableGrid\">\n    <tbody>\n        <tr style=\"\">\n            <td width=\"576\" valign=\"top\" style=\"border: 1pt solid black; padding: 0cm 5.4pt; width: 432.35pt;\">\n            <p style=\"margin-bottom: 0.0001pt; line-height: normal;\" class=\"MsoNormal\"><span lang=\"NL-BE\" style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: blue;\"><span style=\"\">&nbsp;&nbsp;&nbsp; <\/span>string<\/span><span lang=\"NL-BE\" style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\"> metin = <span style=\"color: rgb(163, 21, 21);\">&quot;yazilimmutfagi&quot;<\/span>;<o:p><\/o:p><\/span><\/p>\n            <p style=\"margin-bottom: 0.0001pt; line-height: normal;\" class=\"MsoNormal\"><span lang=\"NL-BE\" style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\"><span style=\"\">&nbsp;&nbsp;&nbsp; <\/span><span style=\"color: blue;\">int<\/span> i = 15;<o:p><\/o:p><\/span><\/p>\n            <p class=\"MsoNoSpacing\"><span lang=\"NL-BE\" style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\"><span style=\"\">&nbsp;&nbsp;&nbsp; <\/span><span style=\"color: rgb(43, 145, 175);\">Console<\/span>.WriteLine(metin[i]);<o:p><\/o:p><\/span><\/p>\n            <\/td>\n        <\/tr>\n    <\/tbody>\n<\/table>\n<p class=\"MsoNormal\"><br \/>\nYukaridaki kod derleme aninda hata vermeyecek. Yukaridaki degisikligi yapip programimi &ccedil;alistirdigimizda ne olacak? Metin stringine ait toplam 14 karakter var ve son karakterin indexi 13 olduguna g&ouml;re ve bizde 15. indexdeki karakteri almak istedigimize g&ouml;re &ccedil;alisma aninda asagidaki hatayi alacagiz.<\/p>\n<table cellspacing=\"0\" cellpadding=\"0\" border=\"1\" style=\"border: medium none ; background: black none repeat scroll 0% 0%; margin-left: 5.4pt; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous; border-collapse: collapse;\" class=\"MsoTableGrid\">\n    <tbody>\n        <tr style=\"\">\n            <td width=\"576\" valign=\"top\" style=\"border: 1pt solid black; padding: 0cm 5.4pt; width: 432.35pt;\">\n            <p style=\"margin-bottom: 0.0001pt; line-height: normal;\" class=\"MsoNormal\"><span style=\"color: rgb(255, 255, 255);\"><span lang=\"NL-BE\">Islenmeyen &Ouml;zel   Durum: System.IndexOutOfRangeException: Dizin, dizi sinirlarinin<\/span><\/span><span lang=\"NL-BE\" style=\"\"><o:p><\/o:p><\/span><\/p>\n            <p style=\"margin-bottom: 0.0001pt; line-height: normal;\" class=\"MsoNormal\"><span style=\"color: rgb(255, 255, 255);\"><span lang=\"NL-BE\">&nbsp;disindaydi.<\/span><\/span><span lang=\"NL-BE\" style=\"\"><o:p><\/o:p><\/span><\/p>\n            <p style=\"margin-bottom: 0.0001pt; line-height: normal;\" class=\"MsoNormal\"><span style=\"color: rgb(255, 255, 255);\"><span lang=\"NL-BE\">&nbsp;&nbsp; konum: yzDersler.Program.Main(String[]   args) D:\\TTCodeland\\deneme\\WindowsForm<\/span><\/span><span lang=\"NL-BE\" style=\"\"><o:p><\/o:p><\/span><\/p>\n            <p style=\"margin-bottom: 0.0001pt; line-height: normal;\" class=\"MsoNormal\"><span style=\"color: rgb(255, 255, 255);\"><span lang=\"NL-BE\">sApplication2\\yzDersler\\Program.cs   i&ccedil;inde: satir 13<\/span><\/span><span lang=\"NL-BE\" style=\"\"><o:p><\/o:p><\/span><\/p>\n            <\/td>\n        <\/tr>\n    <\/tbody>\n<\/table>\n<p class=\"MsoNormal\"><o:p>&nbsp;<\/o:p><\/p>\n<p class=\"MsoNormal\">Simdi gelelim bu hatayi nasil engelleyecegimize.<\/p>\n<p class=\"MsoNormal\">Ilk olarak kullandigimiz index degiskeninin metinin uzunlugundan daha fazla olup olmadigini kontrol etmeliyiz. Main fonksiyonunu asagidaki gibi degistirirseniz i degiskenine verdiginiz yanlis bir deger programinizin &ccedil;&ouml;kmesini engeller.<\/p>\n<table cellspacing=\"0\" cellpadding=\"0\" border=\"1\" style=\"border: medium none ; background: rgb(242, 242, 242) none repeat scroll 0% 0%; margin-left: 5.4pt; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous; border-collapse: collapse;\" class=\"MsoTableGrid\">\n    <tbody>\n        <tr style=\"\">\n            <td width=\"576\" valign=\"top\" style=\"border: 1pt solid black; padding: 0cm 5.4pt; width: 432.35pt;\">\n            <p style=\"margin-bottom: 0.0001pt; line-height: normal;\" class=\"MsoNormal\"><span lang=\"NL-BE\" style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: blue;\">static<\/span><span lang=\"NL-BE\" style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\"> <span style=\"color: blue;\">void<\/span> Main(<span style=\"color: blue;\">string<\/span>[]   args)<o:p><\/o:p><\/span><\/p>\n            <p style=\"margin-bottom: 0.0001pt; line-height: normal;\" class=\"MsoNormal\"><span lang=\"NL-BE\" style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\">{<o:p><\/o:p><\/span><\/p>\n            <p style=\"margin-bottom: 0.0001pt; line-height: normal;\" class=\"MsoNormal\"><span lang=\"NL-BE\" style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\"><span style=\"\">&nbsp;&nbsp;&nbsp; <\/span><span style=\"color: blue;\">string<\/span> metin = <span style=\"color: rgb(163, 21, 21);\">&quot;yazilimmutfagi&quot;<\/span>;<o:p><\/o:p><\/span><\/p>\n            <p style=\"margin-bottom: 0.0001pt; line-height: normal;\" class=\"MsoNormal\"><span lang=\"NL-BE\" style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\"><span style=\"\">&nbsp;&nbsp;&nbsp; <\/span><span style=\"color: blue;\">int<\/span> i = 14;<o:p><\/o:p><\/span><\/p>\n            <p style=\"margin-bottom: 0.0001pt; line-height: normal;\" class=\"MsoNormal\"><span lang=\"NL-BE\" style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\"><span style=\"\">&nbsp;&nbsp;&nbsp; <\/span><span style=\"color: blue;\">if<\/span> (i &gt;= metin.Length || i&lt;0)<o:p><\/o:p><\/span><\/p>\n            <p style=\"margin-bottom: 0.0001pt; line-height: normal;\" class=\"MsoNormal\"><span lang=\"NL-BE\" style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\"><span style=\"\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <\/span><span style=\"color: rgb(43, 145, 175);\">Console<\/span>.WriteLine(<span style=\"color: rgb(163, 21, 21);\">&quot;hatali   giris&quot;<\/span>);<o:p><\/o:p><\/span><\/p>\n            <p style=\"margin-bottom: 0.0001pt; line-height: normal;\" class=\"MsoNormal\"><span lang=\"NL-BE\" style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\"><span style=\"\">&nbsp;&nbsp;&nbsp; <\/span><span style=\"color: blue;\">else<o:p><\/o:p><\/span><\/span><\/p>\n            <p style=\"margin-bottom: 0.0001pt; line-height: normal;\" class=\"MsoNormal\"><span lang=\"NL-BE\" style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\"><span style=\"\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <\/span><span style=\"color: rgb(43, 145, 175);\">Console<\/span>.WriteLine(metin[i]);<o:p><\/o:p><\/span><\/p>\n            <p class=\"MsoNoSpacing\"><span lang=\"NL-BE\" style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\">}<\/span><span lang=\"NL-BE\" style=\"font-size: 10pt; font-family: &quot;Segoe UI&quot;,&quot;sans-serif&quot;;\"><o:p><\/o:p><\/span><\/p>\n            <\/td>\n        <\/tr>\n    <\/tbody>\n<\/table>\n<p class=\"MsoNormal\"><o:p>&nbsp;<\/o:p><\/p>\n<p class=\"MsoNormal\">Yukaridaki d&uuml;zenleme ile indexin metne ait uzunluktan b&uuml;y&uuml;k esit ve 0 dan k&uuml;&ccedil;&uuml;k olmasi durumunda ekrana hata mesaji yaziyoruz, b&ouml;ylece &ccedil;alisma aninda programimizin &ccedil;&ouml;kmesini engellemis oluyoruz.<\/p>\n<p class=\"MsoNormal\"><b style=\"\">.NET ve C# da Hatalar<o:p><\/o:p><\/b><\/p>\n<p class=\"MsoNormal\">Yukarida verdigimiz &ouml;rnek dikkat ederseniz beklenen bir hatadir. Peki, beklenmeyen hatalar olustugunda ne yapabiliriz. Adi &uuml;st&uuml;nde beklenmeyen hata yani bunun i&ccedil;in yukaridaki gibi bir tedbir almamiz m&uuml;mk&uuml;n degil. Bu durumda .NET&rsquo;in hata yakalama mekanizmasi devreye giriyor.<\/p>\n<p class=\"MsoNormal\">Hatalar ile ilgili bazi &ouml;nelmi noktalar:<\/p>\n<p class=\"MsoNormal\">.NET de t&uuml;m hatalar birer nesnedir. NET olusan t&uuml;m hatalar System.Exception sinifindan t&uuml;remistir. Kodda olusan bir hatayi kodu try&hellip;catch bloklari arasina alarak yakalayabiliriz.<\/p>\n<p class=\"MsoNormal\">Hata olusacak olan kodu try blogu i&ccedil;ine aliriz. Try blogundan sonra olusturacagimiz bir catch blogu ile olusan hatayi yakalar ve isleriz. Birden farkli catch blogu kullanarak hatanin tipine g&ouml;re farkli islemler yaptirabiliriz.<\/p>\n<p class=\"MsoNormal\">Hata olussa da olusmasa da &ccedil;alistirmak istedigimiz bir kod varsa bunun try..catch bloklari sonuna ekleyecegimiz bir finally blogu i&ccedil;inde yapariz. Finally blogunu eklemek istege baglidir.<\/p>\n<p class=\"MsoNormal\">Eger sizin yakalayamadiginiz bir hata olusursa .NET CLR bunu yakalar ve programinizin sonlanmasina sebep olur<\/p>\n<p class=\"MsoNormal\"><b style=\"\">Try&hellip;catch&#8230;finally bloklarini kullanarak hatalari yakalamak<o:p><\/o:p><\/b><\/p>\n<p class=\"MsoNormal\"><b style=\"\">Try&hellip;catch blogu<o:p><\/o:p><\/b><\/p>\n<table cellspacing=\"0\" cellpadding=\"0\" border=\"1\" style=\"border: medium none ; background: rgb(242, 242, 242) none repeat scroll 0% 0%; margin-left: 5.4pt; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous; border-collapse: collapse;\" class=\"MsoTableGrid\">\n    <tbody>\n        <tr style=\"\">\n            <td width=\"576\" valign=\"top\" style=\"border: 1pt solid black; padding: 0cm 5.4pt; width: 432.35pt;\">\n            <p style=\"margin-bottom: 0.0001pt; line-height: normal;\" class=\"MsoNormal\"><span lang=\"NL-BE\" style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: blue;\">string<\/span><span lang=\"NL-BE\" style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\"> s = <span style=\"color: blue;\">null<\/span>;<o:p><\/o:p><\/span><\/p>\n            <p style=\"margin-bottom: 0.0001pt; line-height: normal;\" class=\"MsoNormal\"><span lang=\"NL-BE\" style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: blue;\">try<o:p><\/o:p><\/span><\/p>\n            <p style=\"margin-bottom: 0.0001pt; line-height: normal;\" class=\"MsoNormal\"><span lang=\"NL-BE\" style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\">{<o:p><\/o:p><\/span><\/p>\n            <p style=\"margin-bottom: 0.0001pt; line-height: normal;\" class=\"MsoNormal\"><span lang=\"NL-BE\" style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\"><span style=\"\">&nbsp;&nbsp;&nbsp; <\/span><span style=\"color: rgb(43, 145, 175);\">Console<\/span>.WriteLine(<span style=\"color: rgb(163, 21, 21);\">&quot;try   blogu i&ccedil;inde.. s.ToLower() &ccedil;alismadan hemen &ouml;nce&quot;<\/span>);<o:p><\/o:p><\/span><\/p>\n            <p style=\"margin-bottom: 0.0001pt; line-height: normal;\" class=\"MsoNormal\"><span lang=\"NL-BE\" style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\"><span style=\"\">&nbsp;&nbsp;&nbsp; <\/span><span style=\"color: rgb(43, 145, 175);\">Console<\/span>.WriteLine(s.ToLower());<o:p><\/o:p><\/span><\/p>\n            <p style=\"margin-bottom: 0.0001pt; line-height: normal;\" class=\"MsoNormal\"><span lang=\"NL-BE\" style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\"><span style=\"\">&nbsp;&nbsp;&nbsp; <\/span><span style=\"color: rgb(43, 145, 175);\">Console<\/span>.WriteLine(<span style=\"color: rgb(163, 21, 21);\">&quot;try   blogu i&ccedil;inde.. s.ToLower() &ccedil;alisdiktan sonra&quot;<\/span>);<o:p><\/o:p><\/span><\/p>\n            <p style=\"margin-bottom: 0.0001pt; line-height: normal;\" class=\"MsoNormal\"><span lang=\"NL-BE\" style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\"><o:p>&nbsp;<\/o:p><\/span><\/p>\n            <p style=\"margin-bottom: 0.0001pt; line-height: normal;\" class=\"MsoNormal\"><span lang=\"NL-BE\" style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\"><o:p>&nbsp;<\/o:p><\/span><\/p>\n            <p style=\"margin-bottom: 0.0001pt; line-height: normal;\" class=\"MsoNormal\"><span lang=\"NL-BE\" style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\">}<o:p><\/o:p><\/span><\/p>\n            <p style=\"margin-bottom: 0.0001pt; line-height: normal;\" class=\"MsoNormal\"><span lang=\"NL-BE\" style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: blue;\">catch<\/span><span lang=\"NL-BE\" style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\"> (<span style=\"color: rgb(43, 145, 175);\">NullReferenceException<\/span> e)<o:p><\/o:p><\/span><\/p>\n            <p style=\"margin-bottom: 0.0001pt; line-height: normal;\" class=\"MsoNormal\"><span lang=\"NL-BE\" style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\">{<o:p><\/o:p><\/span><\/p>\n            <p style=\"margin-bottom: 0.0001pt; line-height: normal;\" class=\"MsoNormal\"><span lang=\"NL-BE\" style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\"><span style=\"\">&nbsp;&nbsp;&nbsp; <\/span><span style=\"color: rgb(43, 145, 175);\">Console<\/span>.WriteLine(<span style=\"color: rgb(163, 21, 21);\">&quot;catch   blogunda&quot;<\/span>);<o:p><\/o:p><\/span><\/p>\n            <p style=\"margin-bottom: 0.0001pt; line-height: normal;\" class=\"MsoNormal\"><span lang=\"NL-BE\" style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\"><span style=\"\">&nbsp;&nbsp;&nbsp; <\/span><span style=\"color: rgb(43, 145, 175);\">Console<\/span>.WriteLine(<span style=\"color: rgb(163, 21, 21);\">&quot;NullReferenceException   hatasi yakalandi&quot;<\/span>);<o:p><\/o:p><\/span><\/p>\n            <p style=\"margin-bottom: 0.0001pt; line-height: normal;\" class=\"MsoNormal\"><span lang=\"NL-BE\" style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\">}<o:p><\/o:p><\/span><\/p>\n            <p class=\"MsoNoSpacing\"><span lang=\"NL-BE\" style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: rgb(43, 145, 175);\">Console<\/span><span lang=\"NL-BE\" style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\">.WriteLine(<span style=\"color: rgb(163, 21, 21);\">&quot;try.. catch blogu &ccedil;alistiktan sonra&quot;<\/span>);<\/span><span lang=\"NL-BE\" style=\"font-size: 10pt; font-family: &quot;Segoe UI&quot;,&quot;sans-serif&quot;;\"><o:p><\/o:p><\/span><\/p>\n            <\/td>\n        <\/tr>\n    <\/tbody>\n<\/table>\n<p class=\"MsoNormal\"><br style=\"\" \/>\n<!--[if !supportLineBreakNewLine]--><br style=\"\" \/>\n<!--[endif]--><\/p>\n<table cellspacing=\"0\" cellpadding=\"0\" border=\"1\" style=\"border: medium none ; background: black none repeat scroll 0% 0%; margin-left: 5.4pt; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous; border-collapse: collapse;\" class=\"MsoTableGrid\">\n    <tbody>\n        <tr style=\"\">\n            <td width=\"576\" valign=\"top\" style=\"border: 1pt solid black; padding: 0cm 5.4pt; width: 432.35pt;\">\n            <p style=\"margin-bottom: 0.0001pt; line-height: normal;\" class=\"MsoNormal\"><span lang=\"NL-BE\" style=\"color: white;\">try blogu i&ccedil;inde.. s.ToLower() &ccedil;alismadan hemen &ouml;nce<o:p><\/o:p><\/span><\/p>\n            <p style=\"margin-bottom: 0.0001pt; line-height: normal;\" class=\"MsoNormal\"><span lang=\"NL-BE\" style=\"color: white;\">catch blogunda<o:p><\/o:p><\/span><\/p>\n            <p style=\"margin-bottom: 0.0001pt; line-height: normal;\" class=\"MsoNormal\"><span lang=\"NL-BE\" style=\"color: white;\">NullReferenceException hatasi yakalandi<o:p><\/o:p><\/span><\/p>\n            <p style=\"margin-bottom: 0.0001pt; line-height: normal;\" class=\"MsoNormal\"><span lang=\"NL-BE\" style=\"color: white;\">try.. catch blogu &ccedil;alistiktan sonra<\/span><span lang=\"NL-BE\" style=\"\"><o:p><\/o:p><\/span><\/p>\n            <\/td>\n        <\/tr>\n    <\/tbody>\n<\/table>\n<p class=\"MsoNormal\"><o:p>&nbsp;<\/o:p><\/p>\n<p class=\"MsoNormal\">Yukaridaki &ouml;rnegi incelerseniz null deger atanmis s degiskeni i&ccedil;inde bulunan karakterleri k&uuml;&ccedil;&uuml;k harf yapamaya &ccedil;alisiyoruz. S degiskeni null oldugu i&ccedil;inde NullReferenceException hatasi olusuyor. Bu hata s.ToLower() kisminda olustugu i&ccedil;in bu satirdan sonra try blogundaki kodlar &ccedil;alismadan catch bloguna ge&ccedil;iyor.<span style=\"\">&nbsp; <\/span>Peki &ouml;rnekteki s degiskenine bir string deger oalrak YAZILIMMUTFAGI verelim(<span style=\"font-size: 10pt; line-height: 115%; font-family: &quot;Courier New&quot;; color: blue;\">string<\/span><span style=\"font-size: 10pt; line-height: 115%; font-family: &quot;Courier New&quot;;\"> s = <span style=\"color: rgb(163, 21, 21);\">&quot;YAZILIMMUTFAGI&quot;<\/span>;).<\/span>Bu durumda yukaridaki kodda bir hata olusmayacak ve catch blogunda yazdigimiz kodlar &ccedil;alismayacaktir. Bu atamayi yaptigimizda ekran &ccedil;iktisi asagidaki gibi olur.<\/p>\n<table cellspacing=\"0\" cellpadding=\"0\" border=\"1\" style=\"border: medium none ; background: black none repeat scroll 0% 0%; margin-left: 5.4pt; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous; border-collapse: collapse;\" class=\"MsoTableGrid\">\n    <tbody>\n        <tr style=\"\">\n            <td width=\"576\" valign=\"top\" style=\"border: 1pt solid black; padding: 0cm 5.4pt; width: 432.35pt;\">\n            <p style=\"margin-bottom: 0.0001pt; line-height: normal;\" class=\"MsoNormal\"><span lang=\"NL-BE\" style=\"color: white;\">try blogu i&ccedil;inde.. s.ToLower() &ccedil;alismadan hemen &ouml;nce<o:p><\/o:p><\/span><\/p>\n            <p style=\"margin-bottom: 0.0001pt; line-height: normal;\" class=\"MsoNormal\"><span lang=\"NL-BE\" style=\"color: white;\">yazilimmutfagi<o:p><\/o:p><\/span><\/p>\n            <p style=\"margin-bottom: 0.0001pt; line-height: normal;\" class=\"MsoNormal\"><span lang=\"NL-BE\" style=\"color: white;\">try blogu i&ccedil;inde.. s.ToLower() &ccedil;alisdiktan sonra<o:p><\/o:p><\/span><\/p>\n            <p style=\"margin-bottom: 0.0001pt; line-height: normal;\" class=\"MsoNormal\"><span lang=\"NL-BE\" style=\"color: white;\">try.. catch blogu &ccedil;alistiktan sonra<o:p><\/o:p><\/span><\/p>\n            <\/td>\n        <\/tr>\n    <\/tbody>\n<\/table>\n<p class=\"MsoNormal\"><br \/>\ncatch blogu i&ccedil;inde olusan hata nesnesi bir hata mesaji ve hatanin nerden kaynaklandigini tutar. Bunu yapabilmek i&ccedil;in yukaridaki &ouml;rnegimizi biraz degistirelim.<\/p>\n<table cellspacing=\"0\" cellpadding=\"0\" border=\"1\" style=\"border: medium none ; background: rgb(242, 242, 242) none repeat scroll 0% 0%; margin-left: 5.4pt; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous; border-collapse: collapse;\" class=\"MsoTableGrid\">\n    <tbody>\n        <tr style=\"\">\n            <td width=\"576\" valign=\"top\" style=\"border: 1pt solid black; padding: 0cm 5.4pt; width: 432.35pt;\">\n            <p style=\"margin-bottom: 0.0001pt; line-height: normal;\" class=\"MsoNormal\"><span lang=\"NL-BE\" style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: blue;\">string<\/span><span lang=\"NL-BE\" style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\"> s = <span style=\"color: blue;\">null;<\/span><span style=\"color: green;\"><o:p><\/o:p><\/span><\/span><\/p>\n            <p style=\"margin-bottom: 0.0001pt; line-height: normal;\" class=\"MsoNormal\"><span lang=\"NL-BE\" style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: blue;\">try<o:p><\/o:p><\/span><\/p>\n            <p style=\"margin-bottom: 0.0001pt; line-height: normal;\" class=\"MsoNormal\"><span lang=\"NL-BE\" style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\">{<o:p><\/o:p><\/span><\/p>\n            <p style=\"margin-bottom: 0.0001pt; line-height: normal;\" class=\"MsoNormal\"><span lang=\"NL-BE\" style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\"><span style=\"\">&nbsp;&nbsp;&nbsp; <\/span><span style=\"color: rgb(43, 145, 175);\">Console<\/span>.WriteLine(<span style=\"color: rgb(163, 21, 21);\">&quot;try   blogu i&ccedil;inde.. s.ToLower() &ccedil;alismadan hemen &ouml;nce&quot;<\/span>);<o:p><\/o:p><\/span><\/p>\n            <p style=\"margin-bottom: 0.0001pt; line-height: normal;\" class=\"MsoNormal\"><span lang=\"NL-BE\" style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\"><span style=\"\">&nbsp;&nbsp;&nbsp; <\/span><span style=\"color: rgb(43, 145, 175);\">Console<\/span>.WriteLine(s.ToLower());<o:p><\/o:p><\/span><\/p>\n            <p style=\"margin-bottom: 0.0001pt; line-height: normal;\" class=\"MsoNormal\"><span lang=\"NL-BE\" style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\"><span style=\"\">&nbsp;&nbsp;&nbsp; <\/span><span style=\"color: rgb(43, 145, 175);\">Console<\/span>.WriteLine(<span style=\"color: rgb(163, 21, 21);\">&quot;try   blogu i&ccedil;inde.. s.ToLower() &ccedil;alisdiktan sonra&quot;<\/span>);<o:p><\/o:p><\/span><\/p>\n            <p style=\"margin-bottom: 0.0001pt; line-height: normal;\" class=\"MsoNormal\"><span lang=\"NL-BE\" style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\"><o:p>&nbsp;<\/o:p><\/span><\/p>\n            <p style=\"margin-bottom: 0.0001pt; line-height: normal;\" class=\"MsoNormal\"><span lang=\"NL-BE\" style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\"><o:p>&nbsp;<\/o:p><\/span><\/p>\n            <p style=\"margin-bottom: 0.0001pt; line-height: normal;\" class=\"MsoNormal\"><span lang=\"NL-BE\" style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\">}<o:p><\/o:p><\/span><\/p>\n            <p style=\"margin-bottom: 0.0001pt; line-height: normal;\" class=\"MsoNormal\"><span lang=\"NL-BE\" style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: blue;\">catch<\/span><span lang=\"NL-BE\" style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\"> (<span style=\"color: rgb(43, 145, 175);\">NullReferenceException<\/span> e)<o:p><\/o:p><\/span><\/p>\n            <p style=\"margin-bottom: 0.0001pt; line-height: normal;\" class=\"MsoNormal\"><span lang=\"NL-BE\" style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\">{<o:p><\/o:p><\/span><\/p>\n            <p style=\"margin-bottom: 0.0001pt; line-height: normal;\" class=\"MsoNormal\"><span lang=\"NL-BE\" style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\"><span style=\"\">&nbsp;&nbsp;&nbsp; <\/span><span style=\"color: rgb(43, 145, 175);\">Console<\/span>.WriteLine(<span style=\"color: rgb(163, 21, 21);\">&quot;catch   blogunda&quot;<\/span>);<o:p><\/o:p><\/span><\/p>\n            <p style=\"margin-bottom: 0.0001pt; line-height: normal;\" class=\"MsoNormal\"><span lang=\"NL-BE\" style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\"><span style=\"\">&nbsp;&nbsp;&nbsp; <\/span><span style=\"color: rgb(43, 145, 175);\">Console<\/span>.WriteLine(<span style=\"color: rgb(163, 21, 21);\">&quot;NullReferenceException   hatasi yakalandi&quot;<\/span>);<o:p><\/o:p><\/span><\/p>\n            <p style=\"margin-bottom: 0.0001pt; line-height: normal;\" class=\"MsoNormal\"><span lang=\"NL-BE\" style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\"><span style=\"\">&nbsp;&nbsp;&nbsp; <\/span><span style=\"color: rgb(43, 145, 175);\">Console<\/span>.WriteLine(<span style=\"color: rgb(163, 21, 21);\">&quot;\\nHata   Mesaji&quot;<\/span>);<o:p><\/o:p><\/span><\/p>\n            <p style=\"margin-bottom: 0.0001pt; line-height: normal;\" class=\"MsoNormal\"><span lang=\"NL-BE\" style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\"><span style=\"\">&nbsp;&nbsp;&nbsp; <\/span><span style=\"color: rgb(43, 145, 175);\">Console<\/span>.WriteLine(<span style=\"color: rgb(163, 21, 21);\">&quot;================&quot;<\/span>);<o:p><\/o:p><\/span><\/p>\n            <p style=\"margin-bottom: 0.0001pt; line-height: normal;\" class=\"MsoNormal\"><span lang=\"NL-BE\" style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\"><span style=\"\">&nbsp;&nbsp;&nbsp; <\/span><span style=\"color: rgb(43, 145, 175);\">Console<\/span>.WriteLine(e.Message);<o:p><\/o:p><\/span><\/p>\n            <p style=\"margin-bottom: 0.0001pt; line-height: normal;\" class=\"MsoNormal\"><span lang=\"NL-BE\" style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\"><span style=\"\">&nbsp;&nbsp;&nbsp; <\/span><span style=\"color: rgb(43, 145, 175);\">Console<\/span>.WriteLine(<span style=\"color: rgb(163, 21, 21);\">&quot;\\nHatanin   olustugu kisim:&quot;<\/span>);<o:p><\/o:p><\/span><\/p>\n            <p style=\"margin-bottom: 0.0001pt; line-height: normal;\" class=\"MsoNormal\"><span lang=\"NL-BE\" style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\"><span style=\"\">&nbsp;&nbsp;&nbsp; <\/span><span style=\"color: rgb(43, 145, 175);\">Console<\/span>.WriteLine(e.StackTrace);<o:p><\/o:p><\/span><\/p>\n            <p style=\"margin-bottom: 0.0001pt; line-height: normal;\" class=\"MsoNormal\"><span lang=\"NL-BE\" style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\">}<o:p><\/o:p><\/span><\/p>\n            <p class=\"MsoNoSpacing\"><span lang=\"NL-BE\" style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: rgb(43, 145, 175);\">Console<\/span><span lang=\"NL-BE\" style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\">.WriteLine(<span style=\"color: rgb(163, 21, 21);\">&quot;try.. catch blogu &ccedil;alistiktan sonra&quot;<\/span>);<\/span><span lang=\"NL-BE\" style=\"font-size: 10pt; font-family: &quot;Segoe UI&quot;,&quot;sans-serif&quot;;\"><o:p><\/o:p><\/span><\/p>\n            <\/td>\n        <\/tr>\n    <\/tbody>\n<\/table>\n<p class=\"MsoNormal\"><b style=\"\"><br \/>\nEkran &Ccedil;iktisi:<br \/>\n<\/b><a href='www.yazilimmutfagi.com'>.<\/a><\/p>\n<table cellspacing=\"0\" cellpadding=\"0\" border=\"1\" style=\"border: medium none ; background: black none repeat scroll 0% 0%; margin-left: 5.4pt; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous; border-collapse: collapse;\" class=\"MsoTableGrid\">\n    <tbody>\n        <tr style=\"\">\n            <td width=\"576\" valign=\"top\" style=\"border: 1pt solid black; padding: 0cm 5.4pt; width: 432.35pt;\">\n            <p style=\"margin-bottom: 0.0001pt; line-height: normal;\" class=\"MsoNormal\"><span lang=\"NL-BE\" style=\"color: white;\">try blogu i&ccedil;inde.. s.ToLower() &ccedil;alismadan hemen &ouml;nce<o:p><\/o:p><\/span><\/p>\n            <p style=\"margin-bottom: 0.0001pt; line-height: normal;\" class=\"MsoNormal\"><span lang=\"NL-BE\" style=\"color: white;\">catch blogunda<o:p><\/o:p><\/span><\/p>\n            <p style=\"margin-bottom: 0.0001pt; line-height: normal;\" class=\"MsoNormal\"><span lang=\"NL-BE\" style=\"color: white;\">NullReferenceException hatasi yakalandi<o:p><\/o:p><\/span><\/p>\n            <p style=\"margin-bottom: 0.0001pt; line-height: normal;\" class=\"MsoNormal\"><span lang=\"NL-BE\" style=\"color: white;\"><o:p>&nbsp;<\/o:p><\/span><\/p>\n            <p style=\"margin-bottom: 0.0001pt; line-height: normal;\" class=\"MsoNormal\"><span lang=\"NL-BE\" style=\"color: white;\">Hata Mesaji<o:p><\/o:p><\/span><\/p>\n            <p style=\"margin-bottom: 0.0001pt; line-height: normal;\" class=\"MsoNormal\"><span lang=\"NL-BE\" style=\"color: white;\">================<o:p><\/o:p><\/span><\/p>\n            <p style=\"margin-bottom: 0.0001pt; line-height: normal;\" class=\"MsoNormal\"><span lang=\"NL-BE\" style=\"color: white;\">Nesne basvurusu bir nesnenin &ouml;rnegine ayarlanmadi.<o:p><\/o:p><\/span><\/p>\n            <p style=\"margin-bottom: 0.0001pt; line-height: normal;\" class=\"MsoNormal\"><span lang=\"NL-BE\" style=\"color: white;\"><o:p>&nbsp;<\/o:p><\/span><\/p>\n            <p style=\"margin-bottom: 0.0001pt; line-height: normal;\" class=\"MsoNormal\"><span lang=\"NL-BE\" style=\"color: white;\">Hatanin olustugu kisim:<o:p><\/o:p><\/span><\/p>\n            <p style=\"margin-bottom: 0.0001pt; line-height: normal;\" class=\"MsoNormal\"><span lang=\"NL-BE\" style=\"color: white;\"><span style=\"\">&nbsp;&nbsp; <\/span>konum:   yzDersler.Program.Main(String[] args) D:\\TTCodeland\\deneme\\WindowsForm<o:p><\/o:p><\/span><\/p>\n            <p style=\"margin-bottom: 0.0001pt; line-height: normal;\" class=\"MsoNormal\"><span lang=\"NL-BE\" style=\"color: white;\">sApplication2\\yzDersler\\Program.cs i&ccedil;inde: satir 17<o:p><\/o:p><\/span><\/p>\n            <p style=\"margin-bottom: 0.0001pt; line-height: normal;\" class=\"MsoNormal\"><span lang=\"NL-BE\" style=\"color: white;\">try.. catch blogu &ccedil;alistiktan sonra<\/span><span lang=\"NL-BE\" style=\"\"><o:p><\/o:p><\/span><\/p>\n            <\/td>\n        <\/tr>\n    <\/tbody>\n<\/table>\n<p class=\"MsoNormal\"><o:p>&nbsp;<\/o:p><\/p>\n<p class=\"MsoNormal\"><b style=\"\">Finally Blogu<o:p><\/o:p><\/b><\/p>\n<p class=\"MsoNormal\">Finally blogu Try catch blogundan hemen sonra tanimlanir. Kullanilmasi istege baglidir. Try blogu i&ccedil;inde hata olsa da olmasa da finally blogu i&ccedil;ine yazilan kodlar &ccedil;alisir. Finall blogu genellikle bazi kaynaklari serbest birakmak i&ccedil;in kullanilir. &Ouml;rnegin try blogunda bir dosya a&ccedil;tiniz, eger bir hata olusursa try blogu i&ccedil;inde dosyayi kapatma kodu &ccedil;alismadan catche atlar ve sonu&ccedil;ta dosyaniz kapanmaz.<span style=\"\">&nbsp; <\/span>Bu durumda siz dosya kapatma islemini finally blogunda yapacak olursaniz her hal&uuml;karda dosyanizin kapanmasini garanti altina almis olursunuz. Bu bir dosya degilde bir veritbani baglantisi veya tcp socket olabilir.<\/p>\n<p class=\"MsoNormal\">Yukarida yaptigimiz son &ouml;rnege bir finally blogu ekleyerek hata olusmasi veya olusmamasi durumunda kodumuzun nasil &ccedil;alistigini inceleyelim.<\/p>\n<table cellspacing=\"0\" cellpadding=\"0\" border=\"1\" style=\"border: medium none ; background: rgb(242, 242, 242) none repeat scroll 0% 0%; margin-left: 5.4pt; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous; border-collapse: collapse;\" class=\"MsoTableGrid\">\n    <tbody>\n        <tr style=\"\">\n            <td width=\"576\" valign=\"top\" style=\"border: 1pt solid black; padding: 0cm 5.4pt; width: 432.35pt;\">\n            <p style=\"margin-bottom: 0.0001pt; line-height: normal;\" class=\"MsoNormal\"><span lang=\"NL-BE\" style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: blue;\">string<\/span><span lang=\"NL-BE\" style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\"> s =<span style=\"\">&nbsp; <\/span><span style=\"color: rgb(163, 21, 21);\">&quot;YAZILIMMUTFAGI&quot;<\/span>;<o:p><\/o:p><\/span><\/p>\n            <p style=\"margin-bottom: 0.0001pt; line-height: normal;\" class=\"MsoNormal\"><span lang=\"NL-BE\" style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: blue;\">try<o:p><\/o:p><\/span><\/p>\n            <p style=\"margin-bottom: 0.0001pt; line-height: normal;\" class=\"MsoNormal\"><span lang=\"NL-BE\" style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\">{<o:p><\/o:p><\/span><\/p>\n            <p style=\"margin-bottom: 0.0001pt; line-height: normal;\" class=\"MsoNormal\"><span lang=\"NL-BE\" style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\"><span style=\"\">&nbsp;&nbsp;&nbsp; <\/span><span style=\"color: rgb(43, 145, 175);\">Console<\/span>.WriteLine(<span style=\"color: rgb(163, 21, 21);\">&quot;try   blogu i&ccedil;inde.. s.ToLower() &ccedil;alismadan hemen &ouml;nce&quot;<\/span>);<o:p><\/o:p><\/span><\/p>\n            <p style=\"margin-bottom: 0.0001pt; line-height: normal;\" class=\"MsoNormal\"><span lang=\"NL-BE\" style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\"><span style=\"\">&nbsp;&nbsp;&nbsp; <\/span><span style=\"color: rgb(43, 145, 175);\">Console<\/span>.WriteLine(s.ToLower());<o:p><\/o:p><\/span><\/p>\n            <p style=\"margin-bottom: 0.0001pt; line-height: normal;\" class=\"MsoNormal\"><span lang=\"NL-BE\" style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\"><span style=\"\">&nbsp;&nbsp;&nbsp; <\/span><span style=\"color: rgb(43, 145, 175);\">Console<\/span>.WriteLine(<span style=\"color: rgb(163, 21, 21);\">&quot;try   blogu i&ccedil;inde.. s.ToLower() &ccedil;alisdiktan sonra&quot;<\/span>);<o:p><\/o:p><\/span><\/p>\n            <p style=\"margin-bottom: 0.0001pt; line-height: normal;\" class=\"MsoNormal\"><span lang=\"NL-BE\" style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\"><o:p>&nbsp;<\/o:p><\/span><\/p>\n            <p style=\"margin-bottom: 0.0001pt; line-height: normal;\" class=\"MsoNormal\"><span lang=\"NL-BE\" style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\"><o:p>&nbsp;<\/o:p><\/span><\/p>\n            <p style=\"margin-bottom: 0.0001pt; line-height: normal;\" class=\"MsoNormal\"><span lang=\"NL-BE\" style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\">}<o:p><\/o:p><\/span><\/p>\n            <p style=\"margin-bottom: 0.0001pt; line-height: normal;\" class=\"MsoNormal\"><span lang=\"NL-BE\" style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: blue;\">catch<\/span><span lang=\"NL-BE\" style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\"> (<span style=\"color: rgb(43, 145, 175);\">NullReferenceException<\/span> e)<o:p><\/o:p><\/span><\/p>\n            <p style=\"margin-bottom: 0.0001pt; line-height: normal;\" class=\"MsoNormal\"><span lang=\"NL-BE\" style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\">{<o:p><\/o:p><\/span><\/p>\n            <p style=\"margin-bottom: 0.0001pt; line-height: normal;\" class=\"MsoNormal\"><span lang=\"NL-BE\" style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\"><span style=\"\">&nbsp;&nbsp;&nbsp; <\/span><span style=\"color: rgb(43, 145, 175);\">Console<\/span>.WriteLine(<span style=\"color: rgb(163, 21, 21);\">&quot;catch   blogunda&quot;<\/span>);<o:p><\/o:p><\/span><\/p>\n            <p style=\"margin-bottom: 0.0001pt; line-height: normal;\" class=\"MsoNormal\"><span lang=\"NL-BE\" style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\"><span style=\"\">&nbsp;&nbsp;&nbsp; <\/span><span style=\"color: rgb(43, 145, 175);\">Console<\/span>.WriteLine(<span style=\"color: rgb(163, 21, 21);\">&quot;NullReferenceException   hatasi yakalandi&quot;<\/span>);<o:p><\/o:p><\/span><\/p>\n            <p style=\"margin-bottom: 0.0001pt; line-height: normal;\" class=\"MsoNormal\"><span lang=\"NL-BE\" style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\"><span style=\"\">&nbsp;&nbsp;&nbsp; <\/span><span style=\"color: rgb(43, 145, 175);\">Console<\/span>.WriteLine(<span style=\"color: rgb(163, 21, 21);\">&quot;\\nHata   Mesaji&quot;<\/span>);<o:p><\/o:p><\/span><\/p>\n            <p style=\"margin-bottom: 0.0001pt; line-height: normal;\" class=\"MsoNormal\"><span lang=\"NL-BE\" style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\"><span style=\"\">&nbsp;&nbsp;&nbsp; <\/span><span style=\"color: rgb(43, 145, 175);\">Console<\/span>.WriteLine(<span style=\"color: rgb(163, 21, 21);\">&quot;================&quot;<\/span>);<o:p><\/o:p><\/span><\/p>\n            <p style=\"margin-bottom: 0.0001pt; line-height: normal;\" class=\"MsoNormal\"><span lang=\"NL-BE\" style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\"><span style=\"\">&nbsp;&nbsp;&nbsp; <\/span><span style=\"color: rgb(43, 145, 175);\">Console<\/span>.WriteLine(e.Message);<o:p><\/o:p><\/span><\/p>\n            <p style=\"margin-bottom: 0.0001pt; line-height: normal;\" class=\"MsoNormal\"><span lang=\"NL-BE\" style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\"><span style=\"\">&nbsp;&nbsp;&nbsp; <\/span><span style=\"color: rgb(43, 145, 175);\">Console<\/span>.WriteLine(<span style=\"color: rgb(163, 21, 21);\">&quot;\\nHatanin   olustugu kisim:&quot;<\/span>);<o:p><\/o:p><\/span><\/p>\n            <p style=\"margin-bottom: 0.0001pt; line-height: normal;\" class=\"MsoNormal\"><span lang=\"NL-BE\" style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\"><span style=\"\">&nbsp;&nbsp;&nbsp; <\/span><span style=\"color: rgb(43, 145, 175);\">Console<\/span>.WriteLine(<span style=\"color: rgb(163, 21, 21);\">&quot;================&quot;<\/span>);<o:p><\/o:p><\/span><\/p>\n            <p style=\"margin-bottom: 0.0001pt; line-height: normal;\" class=\"MsoNormal\"><span lang=\"NL-BE\" style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\"><span style=\"\">&nbsp;&nbsp;&nbsp; <\/span><span style=\"color: rgb(43, 145, 175);\">Console<\/span>.WriteLine(e.StackTrace);<o:p><\/o:p><\/span><\/p>\n            <p style=\"margin-bottom: 0.0001pt; line-height: normal;\" class=\"MsoNormal\"><span lang=\"NL-BE\" style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\">}<o:p><\/o:p><\/span><\/p>\n            <p style=\"margin-bottom: 0.0001pt; line-height: normal;\" class=\"MsoNormal\"><span lang=\"NL-BE\" style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: blue;\">finally<o:p><\/o:p><\/span><\/p>\n            <p style=\"margin-bottom: 0.0001pt; line-height: normal;\" class=\"MsoNormal\"><span lang=\"NL-BE\" style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\">{<o:p><\/o:p><\/span><\/p>\n            <p style=\"margin-bottom: 0.0001pt; line-height: normal;\" class=\"MsoNormal\"><span lang=\"NL-BE\" style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\"><span style=\"\">&nbsp;&nbsp;&nbsp; <\/span><span style=\"color: rgb(43, 145, 175);\">Console<\/span>.WriteLine(<span style=\"color: rgb(163, 21, 21);\">&quot;finally   blogu&quot;<\/span>);<o:p><\/o:p><\/span><\/p>\n            <p class=\"MsoNoSpacing\"><span lang=\"NL-BE\" style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\">}<\/span><span lang=\"NL-BE\" style=\"font-size: 10pt; font-family: &quot;Segoe UI&quot;,&quot;sans-serif&quot;;\"><o:p><\/o:p><\/span><\/p>\n            <\/td>\n        <\/tr>\n    <\/tbody>\n<\/table>\n<p class=\"MsoNormal\"><b style=\"\"><br \/>\nEkran &Ccedil;iktisi:<o:p><\/o:p><\/b><\/p>\n<table cellspacing=\"0\" cellpadding=\"0\" border=\"1\" style=\"border: medium none ; background: black none repeat scroll 0% 0%; margin-left: 5.4pt; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous; border-collapse: collapse;\" class=\"MsoTableGrid\">\n    <tbody>\n        <tr style=\"\">\n            <td width=\"576\" valign=\"top\" style=\"border: 1pt solid black; padding: 0cm 5.4pt; width: 432.35pt;\">\n            <p style=\"margin-bottom: 0.0001pt; line-height: normal;\" class=\"MsoNormal\"><span lang=\"NL-BE\" style=\"color: white;\">try blogu i&ccedil;inde.. s.ToLower() &ccedil;alismadan hemen &ouml;nce<o:p><\/o:p><\/span><\/p>\n            <p style=\"margin-bottom: 0.0001pt; line-height: normal;\" class=\"MsoNormal\"><span lang=\"NL-BE\" style=\"color: white;\">yazilimmutfagi<o:p><\/o:p><\/span><\/p>\n            <p style=\"margin-bottom: 0.0001pt; line-height: normal;\" class=\"MsoNormal\"><span lang=\"NL-BE\" style=\"color: white;\">try blogu i&ccedil;inde.. s.ToLower() &ccedil;alisdiktan sonra<o:p><\/o:p><\/span><\/p>\n            <p style=\"margin-bottom: 0.0001pt; line-height: normal;\" class=\"MsoNormal\"><span lang=\"NL-BE\" style=\"color: white;\">finally blogu<o:p><\/o:p><\/span><\/p>\n            <p style=\"margin-bottom: 0.0001pt; line-height: normal;\" class=\"MsoNormal\"><span lang=\"NL-BE\" style=\"color: white;\">Devam etmek i&ccedil;in bir tusa basin . . .<\/span><span lang=\"NL-BE\" style=\"\"><o:p><\/o:p><\/span><\/p>\n            <\/td>\n        <\/tr>\n    <\/tbody>\n<\/table>\n<p class=\"MsoNormal\"><o:p>&nbsp;<\/o:p><\/p>\n<p style=\"margin-bottom: 0.0001pt; line-height: normal;\" class=\"MsoNormal\">Simdide programi hataya d&uuml;s&uuml;r&uuml;p finally blogunun nasil davrandigini g&ouml;zleyelim. Yukaridaki kodda Main fonksiyonu i&ccedil;inde s degiskenine null degeri verelim<span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: blue;\"> <\/span>(<span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: blue;\">string<\/span><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\"> s =<span style=\"\">&nbsp; <\/span>null;). Bu durumda <o:p><\/o:p><\/span><\/p>\n<p class=\"MsoNormal\"><br style=\"\" \/>\n<!--[if !supportLineBreakNewLine]--><br style=\"\" \/>\n<!--[endif]--><\/p>\n<table cellspacing=\"0\" cellpadding=\"0\" border=\"1\" style=\"border: medium none ; background: black none repeat scroll 0% 0%; margin-left: 5.4pt; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous; border-collapse: collapse;\" class=\"MsoTableGrid\">\n    <tbody>\n        <tr style=\"\">\n            <td width=\"576\" valign=\"top\" style=\"border: 1pt solid black; padding: 0cm 5.4pt; width: 432.35pt;\">\n            <p style=\"margin-bottom: 0.0001pt; line-height: normal;\" class=\"MsoNormal\"><span lang=\"NL-BE\" style=\"color: white;\">try blogu i&ccedil;inde.. s.ToLower() &ccedil;alismadan hemen &ouml;nce<o:p><\/o:p><\/span><\/p>\n            <p style=\"margin-bottom: 0.0001pt; line-height: normal;\" class=\"MsoNormal\"><span lang=\"NL-BE\" style=\"color: white;\">catch blogunda<o:p><\/o:p><\/span><\/p>\n            <p style=\"margin-bottom: 0.0001pt; line-height: normal;\" class=\"MsoNormal\"><span lang=\"NL-BE\" style=\"color: white;\">NullReferenceException hatasi yakalandi<o:p><\/o:p><\/span><\/p>\n            <p style=\"margin-bottom: 0.0001pt; line-height: normal;\" class=\"MsoNormal\"><span lang=\"NL-BE\" style=\"color: white;\"><o:p>&nbsp;<\/o:p><\/span><\/p>\n            <p style=\"margin-bottom: 0.0001pt; line-height: normal;\" class=\"MsoNormal\"><span lang=\"NL-BE\" style=\"color: white;\">Hata Mesaji<o:p><\/o:p><\/span><\/p>\n            <p style=\"margin-bottom: 0.0001pt; line-height: normal;\" class=\"MsoNormal\"><span lang=\"NL-BE\" style=\"color: white;\">================<o:p><\/o:p><\/span><\/p>\n            <p style=\"margin-bottom: 0.0001pt; line-height: normal;\" class=\"MsoNormal\"><span lang=\"NL-BE\" style=\"color: white;\">Nesne basvurusu bir nesnenin &ouml;rnegine ayarlanmadi.<o:p><\/o:p><\/span><\/p>\n            <p style=\"margin-bottom: 0.0001pt; line-height: normal;\" class=\"MsoNormal\"><span lang=\"NL-BE\" style=\"color: white;\"><o:p>&nbsp;<\/o:p><\/span><\/p>\n            <p style=\"margin-bottom: 0.0001pt; line-height: normal;\" class=\"MsoNormal\"><span lang=\"NL-BE\" style=\"color: white;\">Hatanin olustugu kisim:<o:p><\/o:p><\/span><\/p>\n            <p style=\"margin-bottom: 0.0001pt; line-height: normal;\" class=\"MsoNormal\"><span lang=\"NL-BE\" style=\"color: white;\">================<o:p><\/o:p><\/span><\/p>\n            <p style=\"margin-bottom: 0.0001pt; line-height: normal;\" class=\"MsoNormal\"><span lang=\"NL-BE\" style=\"color: white;\"><span style=\"\">&nbsp;&nbsp; <\/span>konum:   yzDersler.Program.Main(String[] args) D:\\TTCodeland\\deneme\\WindowsForm<o:p><\/o:p><\/span><\/p>\n            <p style=\"margin-bottom: 0.0001pt; line-height: normal;\" class=\"MsoNormal\"><span lang=\"NL-BE\" style=\"color: white;\">sApplication2\\yzDersler\\Program.cs i&ccedil;inde: satir 17<o:p><\/o:p><\/span><\/p>\n            <p style=\"margin-bottom: 0.0001pt; line-height: normal;\" class=\"MsoNormal\"><span lang=\"NL-BE\" style=\"color: white;\">finally blogu<\/span><span lang=\"NL-BE\" style=\"\"><o:p><\/o:p><\/span><\/p>\n            <\/td>\n        <\/tr>\n    <\/tbody>\n<\/table>\n<p class=\"MsoNormal\"><o:p>&nbsp;<\/o:p><\/p>\n<p class=\"MsoNormal\">Iki ekran &ccedil;iktisina da bakacak olursaniz finally blogunun &ccedil;alistigini her seferinde &ccedil;alistigini g&ouml;r&uuml;rs&uuml;n&uuml;z.<\/p>\n<p class=\"MsoNormal\"><b style=\"\">Birden &Ccedil;ok Catch Blogu Kullanarak &Ccedil;oklu Hata Yakalama<o:p><\/o:p><\/b><\/p>\n<p class=\"MsoNormal\">Birden fazla catch kullanarak try blogu i&ccedil;inde olusan birden fazla, birbirinden farkli hata t&uuml;rlerini yakalayabilirsiniz. Mesela &uuml;&ccedil; adet cetch kullanalim 1. NullReferrenceException 2. De IndexOutOfRangeException ve 3. S&uuml;nde ise diger herhangi bir hata yakalayalim. IndexOutOfRangeException hata t&uuml;r&uuml; bir dizinin eleman sayisindan b&uuml;y&uuml;k veya 0 dan k&uuml;&ccedil;&uuml;k olan elemanlarina erismeye &ccedil;alistiginiz zaman olusur.<\/p>\n<table cellspacing=\"0\" cellpadding=\"0\" border=\"1\" style=\"border: medium none ; background: rgb(242, 242, 242) none repeat scroll 0% 0%; margin-left: 5.4pt; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous; border-collapse: collapse;\" class=\"MsoTableGrid\">\n    <tbody>\n        <tr style=\"\">\n            <td width=\"576\" valign=\"top\" style=\"border: 1pt solid black; padding: 0cm 5.4pt; width: 432.35pt;\">\n            <p style=\"margin-bottom: 0.0001pt; line-height: normal;\" class=\"MsoNormal\"><span lang=\"NL-BE\" style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: blue;\">string<\/span><span lang=\"NL-BE\" style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\"> s = <span style=\"color: rgb(163, 21, 21);\">&quot;Sabri&quot;<\/span>;<o:p><\/o:p><\/span><\/p>\n            <p style=\"margin-bottom: 0.0001pt; line-height: normal;\" class=\"MsoNormal\"><span lang=\"NL-BE\" style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: blue;\">int<\/span><span lang=\"NL-BE\" style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\">[] i = <span style=\"color: blue;\">new<\/span> <span style=\"color: blue;\">int<\/span>[3];<o:p><\/o:p><\/span><\/p>\n            <p style=\"margin-bottom: 0.0001pt; line-height: normal;\" class=\"MsoNormal\"><span lang=\"NL-BE\" style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: blue;\">try<o:p><\/o:p><\/span><\/p>\n            <p style=\"margin-bottom: 0.0001pt; line-height: normal;\" class=\"MsoNormal\"><span lang=\"NL-BE\" style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\">{<o:p><\/o:p><\/span><\/p>\n            <p style=\"margin-bottom: 0.0001pt; line-height: normal;\" class=\"MsoNormal\"><span lang=\"NL-BE\" style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\"><span style=\"\">&nbsp;&nbsp;&nbsp; <\/span><span style=\"color: rgb(43, 145, 175);\">Console<\/span>.WriteLine(<span style=\"color: rgb(163, 21, 21);\">&quot;Try   Blogu i&ccedil;ine giriyor.&quot;<\/span>);<o:p><\/o:p><\/span><\/p>\n            <p style=\"margin-bottom: 0.0001pt; line-height: normal;\" class=\"MsoNormal\"><span lang=\"NL-BE\" style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\"><span style=\"\">&nbsp;&nbsp;&nbsp; <\/span><o:p><\/o:p><\/span><\/p>\n            <p style=\"margin-bottom: 0.0001pt; line-height: normal;\" class=\"MsoNormal\"><span lang=\"NL-BE\" style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\"><span style=\"\">&nbsp;&nbsp;&nbsp; <\/span><span style=\"color: green;\">\/\/NullReferenceException hatasi<span style=\"\">&nbsp; <\/span>verebilicek kisim<o:p><\/o:p><\/span><\/span><\/p>\n            <p style=\"margin-bottom: 0.0001pt; line-height: normal;\" class=\"MsoNormal\"><span lang=\"NL-BE\" style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\"><span style=\"\">&nbsp;&nbsp;&nbsp; <\/span><span style=\"color: rgb(43, 145, 175);\">Console<\/span>.WriteLine(<span style=\"color: rgb(163, 21, 21);\">&quot;Kucuk   harflere &ccedil;evrilmis hali : &quot;<\/span>+s.ToLower());<o:p><\/o:p><\/span><\/p>\n            <p style=\"margin-bottom: 0.0001pt; line-height: normal;\" class=\"MsoNormal\"><span lang=\"NL-BE\" style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\"><o:p>&nbsp;<\/o:p><\/span><\/p>\n            <p style=\"margin-bottom: 0.0001pt; line-height: normal;\" class=\"MsoNormal\"><span lang=\"NL-BE\" style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\"><span style=\"\">&nbsp;&nbsp;&nbsp; <\/span><span style=\"color: green;\">\/\/NullReferenceException veya IndexOutOfRangeException   hatasi<span style=\"\">&nbsp; <\/span>verebilicek kisim<o:p><\/o:p><\/span><\/span><\/p>\n            <p style=\"margin-bottom: 0.0001pt; line-height: normal;\" class=\"MsoNormal\"><span lang=\"NL-BE\" style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\"><span style=\"\">&nbsp;&nbsp;&nbsp; <\/span><span style=\"color: rgb(43, 145, 175);\">Console<\/span>.WriteLine(<span style=\"color: rgb(163, 21, 21);\">&quot;Dizinin   ilk elemani :&quot;<\/span>+i[0].ToString());<o:p><\/o:p><\/span><\/p>\n            <p style=\"margin-bottom: 0.0001pt; line-height: normal;\" class=\"MsoNormal\"><span lang=\"NL-BE\" style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\"><o:p>&nbsp;<\/o:p><\/span><\/p>\n            <p style=\"margin-bottom: 0.0001pt; line-height: normal;\" class=\"MsoNormal\"><span lang=\"NL-BE\" style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\"><span style=\"\">&nbsp;&nbsp;&nbsp; <\/span><span style=\"color: green;\">\/\/DivideByZeroException hatasi verebilecek kisim<o:p><\/o:p><\/span><\/span><\/p>\n            <p style=\"margin-bottom: 0.0001pt; line-height: normal;\" class=\"MsoNormal\"><span lang=\"NL-BE\" style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\"><span style=\"\">&nbsp;&nbsp;&nbsp; <\/span>i[0] = 1;<o:p><\/o:p><\/span><\/p>\n            <p style=\"margin-bottom: 0.0001pt; line-height: normal;\" class=\"MsoNormal\"><span lang=\"NL-BE\" style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\"><span style=\"\">&nbsp;&nbsp;&nbsp; <\/span>i[1] = 4 \/ i[0];<o:p><\/o:p><\/span><\/p>\n            <p style=\"margin-bottom: 0.0001pt; line-height: normal;\" class=\"MsoNormal\"><span lang=\"NL-BE\" style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\"><span style=\"\">&nbsp;&nbsp;&nbsp; <\/span><span style=\"color: rgb(43, 145, 175);\">Console<\/span>.WriteLine(<span style=\"color: rgb(163, 21, 21);\">&quot;Try   Blogu Bitti&quot;<\/span>);<o:p><\/o:p><\/span><\/p>\n            <p style=\"margin-bottom: 0.0001pt; line-height: normal;\" class=\"MsoNormal\"><span lang=\"NL-BE\" style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\">}<o:p><\/o:p><\/span><\/p>\n            <p style=\"margin-bottom: 0.0001pt; line-height: normal;\" class=\"MsoNormal\"><span lang=\"NL-BE\" style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: blue;\">catch<\/span><span lang=\"NL-BE\" style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\"> (<span style=\"color: rgb(43, 145, 175);\">NullReferenceException<\/span> e)<o:p><\/o:p><\/span><\/p>\n            <p style=\"margin-bottom: 0.0001pt; line-height: normal;\" class=\"MsoNormal\"><span lang=\"NL-BE\" style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\">{<o:p><\/o:p><\/span><\/p>\n            <p style=\"margin-bottom: 0.0001pt; line-height: normal;\" class=\"MsoNormal\"><span lang=\"NL-BE\" style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\"><span style=\"\">&nbsp;&nbsp;&nbsp; <\/span><span style=\"color: rgb(43, 145, 175);\">Console<\/span>.WriteLine(<span style=\"color: rgb(163, 21, 21);\">&quot;NullReferenceException   hatasi yakalandi..&quot;<\/span>);<o:p><\/o:p><\/span><\/p>\n            <p style=\"margin-bottom: 0.0001pt; line-height: normal;\" class=\"MsoNormal\"><span lang=\"NL-BE\" style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\">}<o:p><\/o:p><\/span><\/p>\n            <p style=\"margin-bottom: 0.0001pt; line-height: normal;\" class=\"MsoNormal\"><span lang=\"NL-BE\" style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: blue;\">catch<\/span><span lang=\"NL-BE\" style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\"> (<span style=\"color: rgb(43, 145, 175);\">IndexOutOfRangeException<\/span> e)<o:p><\/o:p><\/span><\/p>\n            <p style=\"margin-bottom: 0.0001pt; line-height: normal;\" class=\"MsoNormal\"><span lang=\"NL-BE\" style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\">{<o:p><\/o:p><\/span><\/p>\n            <p style=\"margin-bottom: 0.0001pt; line-height: normal;\" class=\"MsoNormal\"><span lang=\"NL-BE\" style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\"><span style=\"\">&nbsp;&nbsp;&nbsp; <\/span><span style=\"color: rgb(43, 145, 175);\">Console<\/span>.WriteLine(<span style=\"color: rgb(163, 21, 21);\">&quot;IndexOutOfRangeException   hatasi yakalandi..&quot;<\/span>);<o:p><\/o:p><\/span><\/p>\n            <p style=\"margin-bottom: 0.0001pt; line-height: normal;\" class=\"MsoNormal\"><span lang=\"NL-BE\" style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\">}<o:p><\/o:p><\/span><\/p>\n            <p style=\"margin-bottom: 0.0001pt; line-height: normal;\" class=\"MsoNormal\"><span lang=\"NL-BE\" style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: blue;\">catch<\/span><span lang=\"NL-BE\" style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\"> (<span style=\"color: rgb(43, 145, 175);\">Exception<\/span> e)<o:p><\/o:p><\/span><\/p>\n            <p style=\"margin-bottom: 0.0001pt; line-height: normal;\" class=\"MsoNormal\"><span lang=\"NL-BE\" style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\">{<o:p><\/o:p><\/span><\/p>\n            <p style=\"margin-bottom: 0.0001pt; line-height: normal;\" class=\"MsoNormal\"><span lang=\"NL-BE\" style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\"><span style=\"\">&nbsp;&nbsp;&nbsp; <\/span><span style=\"color: rgb(43, 145, 175);\">Console<\/span>.WriteLine(<span style=\"color: rgb(163, 21, 21);\">&quot;Hatasi   yakalandi..&quot;<\/span>);<o:p><\/o:p><\/span><\/p>\n            <p style=\"margin-bottom: 0.0001pt; line-height: normal;\" class=\"MsoNormal\"><span lang=\"NL-BE\" style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\"><span style=\"\">&nbsp;&nbsp;&nbsp; <\/span><span style=\"color: rgb(43, 145, 175);\">Console<\/span>.WriteLine(e.Message);<o:p><\/o:p><\/span><\/p>\n            <p class=\"MsoNoSpacing\"><span lang=\"NL-BE\" style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\">}<\/span><span lang=\"NL-BE\" style=\"font-size: 10pt; font-family: &quot;Segoe UI&quot;,&quot;sans-serif&quot;;\"><o:p><\/o:p><\/span><\/p>\n            <\/td>\n        <\/tr>\n    <\/tbody>\n<\/table>\n<p class=\"MsoNormal\"><o:p>&nbsp;<\/o:p><\/p>\n<p class=\"MsoNormal\"><b style=\"\">Ekran &ccedil;iktisi:<o:p><\/o:p><\/b><\/p>\n<table cellspacing=\"0\" cellpadding=\"0\" border=\"1\" style=\"border: medium none ; background: black none repeat scroll 0% 0%; margin-left: 5.4pt; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous; border-collapse: collapse;\" class=\"MsoTableGrid\">\n    <tbody>\n        <tr style=\"\">\n            <td width=\"576\" valign=\"top\" style=\"border: 1pt solid black; padding: 0cm 5.4pt; width: 432.35pt;\">\n            <p style=\"margin-bottom: 0.0001pt; line-height: normal;\" class=\"MsoNormal\"><span lang=\"NL-BE\" style=\"color: white;\">Try Blogu i&ccedil;ine giriyor.<o:p><\/o:p><\/span><\/p>\n            <p style=\"margin-bottom: 0.0001pt; line-height: normal;\" class=\"MsoNormal\"><span lang=\"NL-BE\" style=\"color: white;\">Kucuk harflere &ccedil;evrilmis hali : sabri<o:p><\/o:p><\/span><\/p>\n            <p style=\"margin-bottom: 0.0001pt; line-height: normal;\" class=\"MsoNormal\"><span lang=\"NL-BE\" style=\"color: white;\">Dizinin ilk elemani :0<o:p><\/o:p><\/span><\/p>\n            <p style=\"margin-bottom: 0.0001pt; line-height: normal;\" class=\"MsoNormal\"><span lang=\"NL-BE\" style=\"color: white;\">Try Blogu Bitti<\/span><span lang=\"NL-BE\" style=\"\"><o:p><\/o:p><\/span><\/p>\n            <\/td>\n        <\/tr>\n    <\/tbody>\n<\/table>\n<p class=\"MsoNormal\"><o:p>&nbsp;<\/o:p><\/p>\n<p class=\"MsoNormal\">Yukaridaki &ouml;rnekte s degiskenine null deger verin ve sonucu izleyin daha sonra i dizisinin ilk elemanini 0 yapin ve sonucu izleyin.<span style=\"\">&nbsp; <\/span>Ayrica dizinin ilk elemanini buldugumu yere dizi boyutlarindan b&uuml;y&uuml;k veya 0 dan k&uuml;&ccedil;&uuml;k bir sayi girip sonucu izleyin.<\/p>\n<p class=\"MsoNormal\"><o:p>&nbsp;<\/o:p><\/p>\n<p class=\"MsoNormal\">Birden fazla catch blogu kullandigimiz zaman eger hata olusursa catch bloklari sirasi ile degerlendirilir, olusan hata ilk hangi bloga uyuyorsa o blok &ccedil;alisir ve gerisi &ccedil;alismaz. Yani bir NullReferenceException yakalayacaksak bu catch blogundan &ouml;nce daha genel bir hata yakalamaya kodu olmamalidir. Kisacasi hata yakalamak i&ccedil;in kullandigimiz catch bloklarindaki hata t&uuml;rleri &ouml;zelden genele dogru gitmelidir. En basta Exception sinifindan t&uuml;reyen bir hata yakalamaya kalkarsak, t&uuml;m hatalar bu siniftan t&uuml;redigi i&ccedil;in ilk catch blogu &ccedil;alisacak ve digerleri &ccedil;alismayacaktir. &Ouml;rnegin asagidaki gibi bir yapi kurarsak t&uuml;m hatalar birinci catch tarafindan yakalanir &ccedil;&uuml;nk&uuml; NullReferenceException da IndexOutOfRangeException da Exception sinifindan t&uuml;remistir ve daha &ouml;zel kullanim i&ccedil;indir.<\/p>\n<table cellspacing=\"0\" cellpadding=\"0\" border=\"1\" style=\"border: medium none ; background: rgb(242, 242, 242) none repeat scroll 0% 0%; margin-left: 5.4pt; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous; border-collapse: collapse;\" class=\"MsoTableGrid\">\n    <tbody>\n        <tr style=\"\">\n            <td width=\"576\" valign=\"top\" style=\"border: 1pt solid black; padding: 0cm 5.4pt; width: 432.35pt;\">\n            <p style=\"margin-bottom: 0.0001pt; line-height: normal;\" class=\"MsoNormal\"><span lang=\"NL-BE\" style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: blue;\">try<o:p><\/o:p><\/span><\/p>\n            <p style=\"margin-bottom: 0.0001pt; line-height: normal;\" class=\"MsoNormal\"><span lang=\"NL-BE\" style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\">{<o:p><\/o:p><\/span><\/p>\n            <p style=\"margin-bottom: 0.0001pt; line-height: normal;\" class=\"MsoNormal\"><span lang=\"NL-BE\" style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\"><span style=\"\">&nbsp;&nbsp; <\/span><span style=\"color: green;\">\/\/<o:p><\/o:p><\/span><\/span><\/p>\n            <p style=\"margin-bottom: 0.0001pt; line-height: normal;\" class=\"MsoNormal\"><span lang=\"NL-BE\" style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\">}<o:p><\/o:p><\/span><\/p>\n            <p style=\"margin-bottom: 0.0001pt; line-height: normal;\" class=\"MsoNormal\"><span lang=\"NL-BE\" style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: blue;\">catch<\/span><span lang=\"NL-BE\" style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\"> (<span style=\"color: rgb(43, 145, 175);\">Exception<\/span> e)<o:p><\/o:p><\/span><\/p>\n            <p style=\"margin-bottom: 0.0001pt; line-height: normal;\" class=\"MsoNormal\"><span lang=\"NL-BE\" style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\">{<o:p><\/o:p><\/span><\/p>\n            <p style=\"margin-bottom: 0.0001pt; line-height: normal;\" class=\"MsoNormal\"><span lang=\"NL-BE\" style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\"><span style=\"\">&nbsp;&nbsp;&nbsp; <\/span><span style=\"color: green;\">\/\/<o:p><\/o:p><\/span><\/span><\/p>\n            <p style=\"margin-bottom: 0.0001pt; line-height: normal;\" class=\"MsoNormal\"><span lang=\"NL-BE\" style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\">}<o:p><\/o:p><\/span><\/p>\n            <p style=\"margin-bottom: 0.0001pt; line-height: normal;\" class=\"MsoNormal\"><span lang=\"NL-BE\" style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: blue;\">catch<\/span><span lang=\"NL-BE\" style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\"> (<span style=\"color: rgb(43, 145, 175);\">NullReferenceException<\/span> e)<o:p><\/o:p><\/span><\/p>\n            <p style=\"margin-bottom: 0.0001pt; line-height: normal;\" class=\"MsoNormal\"><span lang=\"NL-BE\" style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\">{<o:p><\/o:p><\/span><\/p>\n            <p style=\"margin-bottom: 0.0001pt; line-height: normal;\" class=\"MsoNormal\"><span lang=\"NL-BE\" style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\"><span style=\"\">&nbsp;&nbsp;&nbsp; <\/span><span style=\"color: green;\">\/\/<o:p><\/o:p><\/span><\/span><\/p>\n            <p style=\"margin-bottom: 0.0001pt; line-height: normal;\" class=\"MsoNormal\"><span lang=\"NL-BE\" style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\">}<o:p><\/o:p><\/span><\/p>\n            <p style=\"margin-bottom: 0.0001pt; line-height: normal;\" class=\"MsoNormal\"><span lang=\"NL-BE\" style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: blue;\">catch<\/span><span lang=\"NL-BE\" style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\"> (<span style=\"color: rgb(43, 145, 175);\">IndexOutOfRangeException<\/span> e)<o:p><\/o:p><\/span><\/p>\n            <p style=\"margin-bottom: 0.0001pt; line-height: normal;\" class=\"MsoNormal\"><span lang=\"NL-BE\" style=\"font-size: 10pt; font-family: &ququot;Courier New&quot;;\">{<o:p><\/o:p><\/span><\/p>\n            <p style=\"margin-bottom: 0.0001pt; line-height: normal;\" class=\"MsoNormal\"><span lang=\"NL-BE\" style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\"><span style=\"\">&nbsp;&nbsp;&nbsp; <\/span><span style=\"color: green;\">\/\/<o:p><\/o:p><\/span><\/span><\/p>\n            <p class=\"MsoNoSpacing\"><span lang=\"NL-BE\" style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\">}<\/span><span lang=\"NL-BE\" style=\"font-size: 10pt; font-family: &quot;Segoe UI&quot;,&quot;sans-serif&quot;;\"><o:p><\/o:p><\/span><\/p>\n            <\/td>\n        <\/tr>\n    <\/tbody>\n<\/table>\n<p class=\"MsoNormal\"><o:p>&nbsp;<\/o:p><\/p>\n<p class=\"MsoNormal\">Bu dersin sonuna geldik. Bir sonraki derste Kendi hata t&uuml;rlerimizi nasil olusturacagimizi &ouml;grenecegiz. Bu konu ile ilgili sorularini <a href=\"http:\/\/forum.yazilimmutfagi.com\">forum <\/a>&uuml;zerinde a&ccedil;ilan <a href=\"http:\/\/forum.yazilimmutfagi.com\/default.aspx?g=posts&amp;t=27\">Exception konusu altina sorabilirsiniz.<\/a><br \/>\n<a href='www.yazilimmutfagi.com'>.<\/a><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>","protected":false},"excerpt":{"rendered":"<p>Yazdigimiz kodlarda olusacak hatalarin hepsi derleme aninda ortaya &#231;ikmaz. Bazi hatalar &#231;alisma anindaki durumlara g&#246;re ortaya &#231;ikarlar bunlara beklenmeyen hatalar denir. Bu dersimizde beklenmeyen hatalari nasil yakalayacagimiz anlatacagim.<\/p>\n","protected":false},"author":517,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[436],"tags":[5058,6338,4326,4467,5769,5652,4306,6273,6105,6029,5210],"_links":{"self":[{"href":"https:\/\/www.yazilimmutfagi.com\/index.php\/wp-json\/wp\/v2\/posts\/109"}],"collection":[{"href":"https:\/\/www.yazilimmutfagi.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.yazilimmutfagi.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.yazilimmutfagi.com\/index.php\/wp-json\/wp\/v2\/users\/517"}],"replies":[{"embeddable":true,"href":"https:\/\/www.yazilimmutfagi.com\/index.php\/wp-json\/wp\/v2\/comments?post=109"}],"version-history":[{"count":0,"href":"https:\/\/www.yazilimmutfagi.com\/index.php\/wp-json\/wp\/v2\/posts\/109\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.yazilimmutfagi.com\/index.php\/wp-json\/wp\/v2\/media?parent=109"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.yazilimmutfagi.com\/index.php\/wp-json\/wp\/v2\/categories?post=109"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.yazilimmutfagi.com\/index.php\/wp-json\/wp\/v2\/tags?post=109"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}