C# Corner
Tech
News
Videos
Forums
Trainings
Books
Events
More
Interviews
Jobs
Live
Learn
Career
Members
Blogs
Challenges
Certifications
Bounties
Contribute
Article
Blog
Video
Ebook
Interview Question
Collapse
Feed
Dashboard
Wallet
Learn
Achievements
Network
Refer
Rewards
SharpGPT
Premium
Contribute
Article
Blog
Video
Ebook
Interview Question
Register
Login
.NET
ADO.NET
Android
ASP.NET
C#
Databases & DBA
Design Patterns & Practices
Java
Learn iOS Programming
OOP/OOD
SharePoint
Software Testing
Web Development
WPF
View All
10
Reply
What is dynamic Variable in C# ?
Vijay Kumar
11y
4.2k
0
Reply
Delete Row
Delete Column
Insert Link
×
Insert
Cancel
Embed YouTube Video
×
Width (%)
Height (%)
Insert
Cancel
Table Options
×
Rows
Columns
First row as header
Create Table
Insert Image
×
Selected file:
Alignment
Left
Center
Right
Select an image from your device to upload
Upload to Server
Cancel
Submit
http://www.dotnetperls.com/dynamic
Munesh Sharma
11y
0
when we run a program we dont know the type of variable called dynamic variable
aditya shukla
11y
0
when we run a program we dont know the type of variable called dynamic variable
aditya shukla
11y
0
when we run a program we dont know the type of variable called dynamic variable
aditya shukla
11y
0
when we run a program we dont know the type of variable called dynamic variable
aditya shukla
11y
0
when we run a program we dont know the type of variable called dynamic variable
aditya shukla
11y
0
when we run a program we dont know the type of variable called dynamic variable
aditya shukla
11y
0
when we run a program we dont know the type of variable called dynamic variable
aditya shukla
11y
0
when we run a program we dont know the type of variable called dynamic variable
aditya shukla
11y
0
a) dynamic variables is type safe varaibles while passing and parameters and as return type also.b) Dynamic Variables, a variables declared with dynamic keyword and dynamic declarations are resolved at run time. Dynamic Variable is decided by the compiler at run time, no need to initialize the variable at the time of declaration.Ex. dynamic query; query = "C# Lnaguage"; //Compile, No errorquery = 1234 ; // its also compile, No error c) Dynamic keyword is used to handle anytime of data if we declare dynamic variable. it can handle anonymous data type and can handle any type of data.
Vijay Kumar
11y
0
What is the Difference between Abstract Function and Virtual Function ?
What is anonymous method?
Message