FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
CSharp-Programs/ViewFile/ViewFile/Program.cs at master · PranamBhat/CSharp-Programs · GitHub
PranamBhat
/
CSharp-Programs
Public
Notifications
You must be signed in to change notification settings
Fork
1
Star
1
Code
Issues
0
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
CSharp-Programs
/
ViewFile
/
ViewFile
/
Program.cs
Copy path
More file actions
More file actions
Latest commit
History
History
History
15 lines (15 loc) · 402 Bytes
Breadcrumbs
CSharp-Programs
/
ViewFile
/
ViewFile
/
Program.cs
Copy path
File metadata and controls
15 lines (15 loc) · 402 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/*
* C# Program to View the Information of the File
*/
using
System
;
using
System
.
IO
;
class
Program
{
static
void
Main
(
)
{
FileInfo
info
=
new
FileInfo
(
"E:
\\
Pranam
\\
Git Repository Projects
\\
CSharp-Programs
\\
test.txt"
)
;
FileAttributes
attributes
=
info
.
Attributes
;
Console
.
WriteLine
(
"Nature(Attribute) of the File : {0}"
,
attributes
)
;
Console
.
Read
(
)
;
}
}
Back
|
FazBrowse Home
|
New Git URL