Categories
5G Network
Agile
Amazon EC2
Android
Angular
Ansible
Arduino
Artificial Intelligence
Augmented Reality
AWS
Azure
Big Data
Blockchain
BootStrap
Cache Teachniques
Cassandra
Commercial Insurance
C#
C++
Cloud
CD
CI
Cyber Security
Data Handling
Data using R
Data Science
DBMS
Design-Pattern
DevOps
ECMAScript
Fortify
Ethical Hacking
Framework
GIT
GIT Slack
Gradle
Hadoop
HBase
HDFS
Hibernate
Hive
HTML
Image Processing
IOT
JavaScript
Java
Jenkins
Jira
JUnit
Kibana
Linux
Machine Learning
MangoDB
MVC
NGINX
Onsen UI
Oracle
PHP
Python
QTP
R Language
Regression Analysis
React JS
Robotic
Salesforce
SAP
Selenium
Service Discovery
Service Now
SOAP UI
Spark SQL
Testing
TOGAF
Research Method
Virtual Reality
Vue.js
Home
Recent Q&A
Feedback
Ask a Question
What is the difference between CType and Directcast in C#?
Home
>
C Sharp
>
What is the difference between CType and Directcast in C#?
asked
Oct 18, 2019
in
C Sharp
by
Robin
Q:
What is the difference between CType and Directcast in C#?
ctype-delegates
ctype-
delegates
Answer
1
Answer
0
votes
answered
Oct 18, 2019
by
rajeshsharma
CType is used for conversion between type and the expression.
Directcast is used for converting the object type which requires run time type to be the same as specified type.
Click here to read more about Loan/Mortgage
Click here to read more about Insurance
Many hands make light work, Share it here
Facebook
Twitter
LinkedIn
Reddit
Related questions
0
votes
Q: Can we use delegates for asynchronous method calls in C#?
asked
Oct 18, 2019
in
C Sharp
by
Robin
c#-delegates
delegates
+1
vote
Q: What is the difference between directcast and ctype?
asked
Jun 25, 2019
in
Dot Net
by
Venkatshastri
#dotnet
#chash
#basicc#
0
votes
Q: What is the difference between method overloading and method overriding in C#?
asked
May 6, 2020
in
C Sharp
by
SakshiSharma
#method-overloading
0
votes
Q: What is the difference between dispose() and finalize() methods in C#?
asked
May 6, 2020
in
C Sharp
by
SakshiSharma
#dispose
#finalize-method
0
votes
Q: What is the difference between abstract class and interface in C#?
asked
May 6, 2020
in
C Sharp
by
SakshiSharma
#abstract-class
0
votes
Q: What is the difference between early binding and late binding in C#?
asked
May 6, 2020
in
C Sharp
by
SakshiSharma
#c-binding
#class-binding
0
votes
Q: What is the difference between a struct and a class in C#?
asked
Feb 16, 2020
in
C Sharp
by
rahuljain1
#c-sharp-struct
0
votes
Q: What is the difference between “continue” and “break” statements in C#?
asked
Oct 18, 2019
in
C Sharp
by
Robin
continue-c#
break-c#
c#-break
c#-continue
0
votes
Q: What is the difference between “as” and “is” operators in C#?
asked
Oct 18, 2019
in
C Sharp
by
Robin
c#-operators
operators-in-c#
0
votes
Q: What is the difference between “StringBuilder” and “String” in C#?
asked
Oct 18, 2019
in
C Sharp
by
Robin
stringbuilder
string-in-c#
0
votes
Q: What is the difference between “out” and “ref” parameters in C#?
asked
Oct 18, 2019
in
C Sharp
by
Robin
c#-out
c#-ref
out-c#
ref-c#
0
votes
Q: What is the difference between “throw ex” and “throw” methods in C#?
asked
Oct 18, 2019
in
C Sharp
by
Robin
throw-ex
throw-c#
c#-throw
throw-in-c-sharp
0
votes
Q: What is the difference between “finalize” and “finally” methods in C#?
asked
Oct 18, 2019
in
C Sharp
by
Robin
finalize-c#
c#-finalize
c#-finally
finally-c#
0
votes
Q: What is the difference between “dispose” and “finalize” variables in C#?
asked
Oct 18, 2019
in
C Sharp
by
Robin
dispose-c#
c#-dispose
finalize-c#
c#-finalize
0
votes
Q: What is the difference between “constant” and “readonly” variables in C#?
asked
Oct 18, 2019
in
C Sharp
by
Robin
c#-constant
readonly-c#
0
votes
Q: Explain difference between "continue" and "break" statements in C#?
asked
Feb 16, 2020
in
C Sharp
by
rahuljain1
#c#-continue
+1
vote
Q: Difference between String and StringBuilder in C#?
asked
Jan 20, 2020
in
C Sharp
by
AdilsonLima
0
votes
Q: What are the differences between events and delegates in C#?
asked
Oct 18, 2019
in
C Sharp
by
Robin
events-and-delegates
c#-events
c#-delegates
0
votes
Q: What are the differences between static, public and void in C#?
asked
Oct 18, 2019
in
C Sharp
by
Robin
static-c#
c#-static
c#-public
c#-void
void-c#
public-c#
0
votes
Q: List out the differences between Array and ArrayList in C#?
asked
Oct 18, 2019
in
C Sharp
by
Robin
array-in-c#
arraylist-in-c#
array-in-c-sharp
arraylist-in-c-sharp
c#-arraylist
c#-array
+1
vote
Q: What is difference between is and as operators in c#?
asked
Jun 25, 2019
in
Dot Net
by
Venkatshastri
#dotnet
#chash
+1
vote
Q: What is the difference between Margin and Padding properties in Xamarin?
asked
Aug 20, 2020
in
C Sharp
by
RShastri
#xamarin
0
votes
Q: What is the difference between public, static and void?
asked
May 6, 2020
in
C Sharp
by
SakshiSharma
#public
#static
#void
0
votes
Q: What is the Difference between WCF and ASMX Web Services?
asked
Apr 14, 2020
in
C Sharp
by
GeorgeBell
#dotnet
#aspdotnet
#asp
#asmx
#wcf
0
votes
Q: What is the difference between Array and Arraylist?
asked
Apr 9, 2020
in
C Sharp
by
GeorgeBell
#array-vs-arraylist
#dotnet
#c#
0
votes
Q: Mention what is the difference between ViewData and ViewBag?
asked
Jan 20, 2020
in
C Sharp
by
AdilsonLima
+1
vote
Q: What's the difference between the System.Array.CopyTo() and System.Array.Clone() ?
asked
Apr 9, 2020
in
C Sharp
by
GeorgeBell
0
votes
Q: Whats the difference between and XML documentation tag?
asked
Mar 5, 2020
in
C Sharp
by
JackTerrance
0
votes
Q: Whats the difference between // comments, /* */ comments and /// comments?
asked
Mar 5, 2020
in
C Sharp
by
JackTerrance
0
votes
Q: Whats the difference between the System.Array.CopyTo() and System.Array.Clone()?
asked
Mar 5, 2020
in
C Sharp
by
JackTerrance
...