-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Nesne Tabanlı Programlama #5 - this Keyword'ü Nedir? İşlevleri Nelerdir?
- Loading branch information
1 parent
e9d3352
commit 91e616e
Showing
19 changed files
with
369 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file modified
BIN
+0 Bytes
(100%)
... Tabanlı Programlama #2 - Class Kavramı/oop_sinif/obj/Debug/net7.0/oop_sinif.assets.cache
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file modified
BIN
+0 Bytes
(100%)
...roperty #Encapsulation #Methot #Indexer/oop_sinif/obj/Debug/net7.0/oop_sinif.assets.cache
Binary file not shown.
4 changes: 4 additions & 0 deletions
4
... Son Dokunuşlar/oop_sinif/obj/Debug/net7.0/.NETCoreApp,Version=v7.0.AssemblyAttributes.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
// <autogenerated /> | ||
using System; | ||
using System.Reflection; | ||
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETCoreApp,Version=v7.0", FrameworkDisplayName = ".NET 7.0")] |
22 changes: 22 additions & 0 deletions
22
...- Class Yapısına Dair Son Dokunuşlar/oop_sinif/obj/Debug/net7.0/oop_sinif.AssemblyInfo.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
//------------------------------------------------------------------------------ | ||
// <auto-generated> | ||
// This code was generated by a tool. | ||
// | ||
// Changes to this file may cause incorrect behavior and will be lost if | ||
// the code is regenerated. | ||
// </auto-generated> | ||
//------------------------------------------------------------------------------ | ||
|
||
using System; | ||
using System.Reflection; | ||
|
||
[assembly: System.Reflection.AssemblyCompanyAttribute("oop_sinif")] | ||
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")] | ||
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")] | ||
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")] | ||
[assembly: System.Reflection.AssemblyProductAttribute("oop_sinif")] | ||
[assembly: System.Reflection.AssemblyTitleAttribute("oop_sinif")] | ||
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")] | ||
|
||
// MSBuild WriteCodeFragment sınıfı tarafından oluşturuldu. | ||
|
1 change: 1 addition & 0 deletions
1
...apısına Dair Son Dokunuşlar/oop_sinif/obj/Debug/net7.0/oop_sinif.AssemblyInfoInputs.cache
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
3d491ca7daa7a9355e1ca683710d3f416c2fe2a1 |
11 changes: 11 additions & 0 deletions
11
...Dokunuşlar/oop_sinif/obj/Debug/net7.0/oop_sinif.GeneratedMSBuildEditorConfig.editorconfig
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
is_global = true | ||
build_property.TargetFramework = net7.0 | ||
build_property.TargetPlatformMinVersion = | ||
build_property.UsingMicrosoftNETSdkWeb = | ||
build_property.ProjectTypeGuids = | ||
build_property.InvariantGlobalization = | ||
build_property.PlatformNeutralAssembly = | ||
build_property.EnforceExtendedAnalyzerRules = | ||
build_property._SupportedPlatformList = Linux,macOS,Windows | ||
build_property.RootNamespace = oop_sinif | ||
build_property.ProjectDir = d:\GithubRepom\Nesne Tabanlı Programlama\2-SINIF(CLASS)\Nesne Tabanlı Programlama #4 - Class Yapısına Dair Son Dokunuşlar\oop_sinif\ |
8 changes: 8 additions & 0 deletions
8
...Class Yapısına Dair Son Dokunuşlar/oop_sinif/obj/Debug/net7.0/oop_sinif.GlobalUsings.g.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
// <auto-generated/> | ||
global using global::System; | ||
global using global::System.Collections.Generic; | ||
global using global::System.IO; | ||
global using global::System.Linq; | ||
global using global::System.Net.Http; | ||
global using global::System.Threading; | ||
global using global::System.Threading.Tasks; |
Binary file added
BIN
+228 Bytes
...#4 - Class Yapısına Dair Son Dokunuşlar/oop_sinif/obj/Debug/net7.0/oop_sinif.assets.cache
Binary file not shown.
Binary file added
BIN
+73.5 KB
...a Dair Son Dokunuşlar/oop_sinif/obj/Debug/net7.0/oop_sinif.csproj.AssemblyReference.cache
Binary file not shown.
32 changes: 32 additions & 0 deletions
32
...sne Tabanlı Programlama #5 - this Keyword'ü Nedir İşlevleri Nelerdir/oop_sinif/Program.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
namespace oop_sinif; | ||
class Program | ||
{ | ||
static void Main(string[] args) | ||
{ | ||
#region this Keywordü | ||
|
||
#region 1. Sınıfın Nesnesini Temsil Eder | ||
MyClass m1 = new(); | ||
MyClass m2 = new(); | ||
|
||
m1.X(); | ||
#endregion | ||
#region 2. Aynı İsimde Field İle Metot Parametrelerini Ayırmak için Kullanılır | ||
//`this` keywordü ilgili `class` yapılanmasının o anki nesnesine karşılık gelir. | ||
//`this` kullanmak zorunda değiliz. | ||
// | ||
#endregion | ||
#region 3. Bir Constructer'dan Başka Bir Constructer'ı Çağırmak İçin Kullanılır | ||
|
||
#endregion | ||
#endregion | ||
} | ||
} | ||
class MyClass | ||
{ | ||
int a; | ||
public void X(int a) | ||
{ | ||
this.a; | ||
} | ||
} |
68 changes: 68 additions & 0 deletions
68
... this Keyword'ü Nedir İşlevleri Nelerdir/oop_sinif/obj/oop_sinif.csproj.nuget.dgspec.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
{ | ||
"format": 1, | ||
"restore": { | ||
"D:\\GithubRepom\\Nesne Tabanlı Programlama\\2-SINIF(CLASS)\\Nesne Tabanlı Programlama #5 - this Keyword'ü Nedir İşlevleri Nelerdir\\oop_sinif\\oop_sinif.csproj": {} | ||
}, | ||
"projects": { | ||
"D:\\GithubRepom\\Nesne Tabanlı Programlama\\2-SINIF(CLASS)\\Nesne Tabanlı Programlama #5 - this Keyword'ü Nedir İşlevleri Nelerdir\\oop_sinif\\oop_sinif.csproj": { | ||
"version": "1.0.0", | ||
"restore": { | ||
"projectUniqueName": "D:\\GithubRepom\\Nesne Tabanlı Programlama\\2-SINIF(CLASS)\\Nesne Tabanlı Programlama #5 - this Keyword'ü Nedir İşlevleri Nelerdir\\oop_sinif\\oop_sinif.csproj", | ||
"projectName": "oop_sinif", | ||
"projectPath": "D:\\GithubRepom\\Nesne Tabanlı Programlama\\2-SINIF(CLASS)\\Nesne Tabanlı Programlama #5 - this Keyword'ü Nedir İşlevleri Nelerdir\\oop_sinif\\oop_sinif.csproj", | ||
"packagesPath": "C:\\Users\\TCMUYUMAZ\\.nuget\\packages\\", | ||
"outputPath": "D:\\GithubRepom\\Nesne Tabanlı Programlama\\2-SINIF(CLASS)\\Nesne Tabanlı Programlama #5 - this Keyword'ü Nedir İşlevleri Nelerdir\\oop_sinif\\obj\\", | ||
"projectStyle": "PackageReference", | ||
"fallbackFolders": [ | ||
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages" | ||
], | ||
"configFilePaths": [ | ||
"C:\\Users\\TCMUYUMAZ\\AppData\\Roaming\\NuGet\\NuGet.Config", | ||
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.FallbackLocation.config", | ||
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config" | ||
], | ||
"originalTargetFrameworks": [ | ||
"net7.0" | ||
], | ||
"sources": { | ||
"C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {}, | ||
"C:\\Program Files\\dotnet\\library-packs": {}, | ||
"https://api.nuget.org/v3/index.json": {} | ||
}, | ||
"frameworks": { | ||
"net7.0": { | ||
"targetAlias": "net7.0", | ||
"projectReferences": {} | ||
} | ||
}, | ||
"warningProperties": { | ||
"warnAsError": [ | ||
"NU1605" | ||
] | ||
} | ||
}, | ||
"frameworks": { | ||
"net7.0": { | ||
"targetAlias": "net7.0", | ||
"imports": [ | ||
"net461", | ||
"net462", | ||
"net47", | ||
"net471", | ||
"net472", | ||
"net48", | ||
"net481" | ||
], | ||
"assetTargetFallback": true, | ||
"warn": true, | ||
"frameworkReferences": { | ||
"Microsoft.NETCore.App": { | ||
"privateAssets": "all" | ||
} | ||
}, | ||
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\7.0.202\\RuntimeIdentifierGraph.json" | ||
} | ||
} | ||
} | ||
} | ||
} |
16 changes: 16 additions & 0 deletions
16
...#5 - this Keyword'ü Nedir İşlevleri Nelerdir/oop_sinif/obj/oop_sinif.csproj.nuget.g.props
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<?xml version="1.0" encoding="utf-8" standalone="no"?> | ||
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
<PropertyGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' "> | ||
<RestoreSuccess Condition=" '$(RestoreSuccess)' == '' ">True</RestoreSuccess> | ||
<RestoreTool Condition=" '$(RestoreTool)' == '' ">NuGet</RestoreTool> | ||
<ProjectAssetsFile Condition=" '$(ProjectAssetsFile)' == '' ">$(MSBuildThisFileDirectory)project.assets.json</ProjectAssetsFile> | ||
<NuGetPackageRoot Condition=" '$(NuGetPackageRoot)' == '' ">$(UserProfile)\.nuget\packages\</NuGetPackageRoot> | ||
<NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">C:\Users\TCMUYUMAZ\.nuget\packages\;C:\Program Files (x86)\Microsoft Visual Studio\Shared\NuGetPackages</NuGetPackageFolders> | ||
<NuGetProjectStyle Condition=" '$(NuGetProjectStyle)' == '' ">PackageReference</NuGetProjectStyle> | ||
<NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">6.5.0</NuGetToolVersion> | ||
</PropertyGroup> | ||
<ItemGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' "> | ||
<SourceRoot Include="C:\Users\TCMUYUMAZ\.nuget\packages\" /> | ||
<SourceRoot Include="C:\Program Files (x86)\Microsoft Visual Studio\Shared\NuGetPackages\" /> | ||
</ItemGroup> | ||
</Project> |
2 changes: 2 additions & 0 deletions
2
... - this Keyword'ü Nedir İşlevleri Nelerdir/oop_sinif/obj/oop_sinif.csproj.nuget.g.targets
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
<?xml version="1.0" encoding="utf-8" standalone="no"?> | ||
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" /> |
74 changes: 74 additions & 0 deletions
74
...rogramlama #5 - this Keyword'ü Nedir İşlevleri Nelerdir/oop_sinif/obj/project.assets.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,74 @@ | ||
{ | ||
"version": 3, | ||
"targets": { | ||
"net7.0": {} | ||
}, | ||
"libraries": {}, | ||
"projectFileDependencyGroups": { | ||
"net7.0": [] | ||
}, | ||
"packageFolders": { | ||
"C:\\Users\\TCMUYUMAZ\\.nuget\\packages\\": {}, | ||
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages": {} | ||
}, | ||
"project": { | ||
"version": "1.0.0", | ||
"restore": { | ||
"projectUniqueName": "D:\\GithubRepom\\Nesne Tabanlı Programlama\\2-SINIF(CLASS)\\Nesne Tabanlı Programlama #5 - this Keyword'ü Nedir İşlevleri Nelerdir\\oop_sinif\\oop_sinif.csproj", | ||
"projectName": "oop_sinif", | ||
"projectPath": "D:\\GithubRepom\\Nesne Tabanlı Programlama\\2-SINIF(CLASS)\\Nesne Tabanlı Programlama #5 - this Keyword'ü Nedir İşlevleri Nelerdir\\oop_sinif\\oop_sinif.csproj", | ||
"packagesPath": "C:\\Users\\TCMUYUMAZ\\.nuget\\packages\\", | ||
"outputPath": "D:\\GithubRepom\\Nesne Tabanlı Programlama\\2-SINIF(CLASS)\\Nesne Tabanlı Programlama #5 - this Keyword'ü Nedir İşlevleri Nelerdir\\oop_sinif\\obj\\", | ||
"projectStyle": "PackageReference", | ||
"fallbackFolders": [ | ||
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages" | ||
], | ||
"configFilePaths": [ | ||
"C:\\Users\\TCMUYUMAZ\\AppData\\Roaming\\NuGet\\NuGet.Config", | ||
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.FallbackLocation.config", | ||
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config" | ||
], | ||
"originalTargetFrameworks": [ | ||
"net7.0" | ||
], | ||
"sources": { | ||
"C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {}, | ||
"C:\\Program Files\\dotnet\\library-packs": {}, | ||
"https://api.nuget.org/v3/index.json": {} | ||
}, | ||
"frameworks": { | ||
"net7.0": { | ||
"targetAlias": "net7.0", | ||
"projectReferences": {} | ||
} | ||
}, | ||
"warningProperties": { | ||
"warnAsError": [ | ||
"NU1605" | ||
] | ||
} | ||
}, | ||
"frameworks": { | ||
"net7.0": { | ||
"targetAlias": "net7.0", | ||
"imports": [ | ||
"net461", | ||
"net462", | ||
"net47", | ||
"net471", | ||
"net472", | ||
"net48", | ||
"net481" | ||
], | ||
"assetTargetFallback": true, | ||
"warn": true, | ||
"frameworkReferences": { | ||
"Microsoft.NETCore.App": { | ||
"privateAssets": "all" | ||
} | ||
}, | ||
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\7.0.202\\RuntimeIdentifierGraph.json" | ||
} | ||
} | ||
} | ||
} |
8 changes: 8 additions & 0 deletions
8
...rogramlama #5 - this Keyword'ü Nedir İşlevleri Nelerdir/oop_sinif/obj/project.nuget.cache
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"version": 2, | ||
"dgSpecHash": "fUeC5yQPxG7h6OdTHuj9An45zJJ8ffQZORXXajdgi8GAZtzUEGfHkuSnhzBQWbjQSB/OSQ0Hfdosf93Su9TWzw==", | ||
"success": true, | ||
"projectFilePath": "D:\\GithubRepom\\Nesne Tabanlı Programlama\\2-SINIF(CLASS)\\Nesne Tabanlı Programlama #5 - this Keyword'ü Nedir İşlevleri Nelerdir\\oop_sinif\\oop_sinif.csproj", | ||
"expectedPackageFiles": [], | ||
"logs": [] | ||
} |
10 changes: 10 additions & 0 deletions
10
...banlı Programlama #5 - this Keyword'ü Nedir İşlevleri Nelerdir/oop_sinif/oop_sinif.csproj
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
|
||
<PropertyGroup> | ||
<OutputType>Exe</OutputType> | ||
<TargetFramework>net7.0</TargetFramework> | ||
<ImplicitUsings>enable</ImplicitUsings> | ||
<Nullable>enable</Nullable> | ||
</PropertyGroup> | ||
|
||
</Project> |
Oops, something went wrong.