Strong type and Week type is related with the data type conversion.
Strongly Typed
A language that prevents you from executing the program on arguments that is of wrong type. For example, you can't multiple a string with the integer. In case you will try to do this (below code) in C# that is strongly types language, you shall get following error.
var i = 9;
string j = "10";
var v = i * j;
Error:
CS0019: Operator '*' cannot be applied to operands of type 'int' and 'string'
Weekly Typed
A language that implicitely try to convert required types when you perform the operation on wrong argument types. For example, above code in VB can give you "90" as the string would be converted to integer and then will be multiplied.
Hope this would help you in understanding this. For more detailed discussion on this topic, read
http://en.wikipedia.org/wiki/Type-checking#Type_checking
Thanks!
Regards,
Sheo Narayan
http://www.dotnetfunda.com
Naimishforu, if this helps please login to Mark As Answer. | Alert Moderator