tag:blogger.com,1999:blog-3524070844260740567.post3190841369834301604..comments2024-03-28T16:26:53.228+05:30Comments on DotNet Developer Blog: Difference between Static variable and Static read only variable in C#DotnetVisiohttp://www.blogger.com/profile/09365297517618959915noreply@blogger.comBlogger10125tag:blogger.com,1999:blog-3524070844260740567.post-9545606488928863782023-07-03T15:36:23.250+05:302023-07-03T15:36:23.250+05:30Nice information. Thanks for sharing
asp.net appl...Nice information. Thanks for sharing<br /><br /><a href="https://colaninfotech.com/services/ms-dotnet-development-company/" rel="nofollow">asp.net application development company</a>Tyrion Lannisterhttps://www.blogger.com/profile/07772762053771012334noreply@blogger.comtag:blogger.com,1999:blog-3524070844260740567.post-69906312771661232552022-01-31T21:29:49.658+05:302022-01-31T21:29:49.658+05:30Whoa! I’m enjoying the template/theme of this webs...Whoa! I’m enjoying the template/theme of this website. It’s simple, yet<br />effective. A lot of times it’s very hard to get that “perfect balance”<br />between superb usability and visual appeal. I must say you’ve done a<br />very good job with this.<br /><a href="https://www.aimoretech.com/oracle-training-in-chennai" rel="nofollow">oracle certification in Chennai</a><br /><a href="https://www.aimoretechnologies.com/training-courses/asp-dotnet-training" rel="nofollow">asp net training in Chennai</a><br /><a href="https://www.aimoretechnologies.com/training-courses/csharp-training" rel="nofollow">C # Training in Chennai</a>Blockhttps://www.blogger.com/profile/16634676529535496518noreply@blogger.comtag:blogger.com,1999:blog-3524070844260740567.post-77687206618933452412019-06-11T16:52:18.442+05:302019-06-11T16:52:18.442+05:30I feel really happy to have seen your webpage and ...I feel really happy to have seen your webpage and look forward to so many more entertaining times reading here. Thanks once more for all the details.<br /><a href="https://www.slajobs.com/data-science-training-in-chennai/" rel="nofollow">Data science Course Training in Chennai |Best Data Science Training Institute in Chennai</a><br /><a href="https://www.slajobs.com/robotic-process-automation-training-in-chennai/" rel="nofollow">RPA Course Training in Chennai |Best RPA Training Institute in Chennai</a><br /><a href="https://www.slajobs.com/amazon-web-services-training-in-chennai/" rel="nofollow">AWS Course Training in Chennai |Best AWS Training Institute in Chennai</a><br /><a href="https://www.slajobs.com/devops-training-institute-in-chennai/" rel="nofollow">Devops Course Training in Chennai |Best Devops Training Institute in Chennai</a>jefrinhttps://www.blogger.com/profile/12611160413527604608noreply@blogger.comtag:blogger.com,1999:blog-3524070844260740567.post-29134794951875083112017-06-24T16:04:03.288+05:302017-06-24T16:04:03.288+05:30Great post! I am actually getting ready to across ...Great post! I am actually getting ready to across this information, It's very helpful for this blog.Also great with all of the valuable information you have Keep up the good work you are doing well.<br /><a href="http://www.greenstechnologys.com/dot-net-training-in-chennai.html" rel="nofollow"> Dot Net Training in Chennai </a><br />Priya Kannanhttps://www.blogger.com/profile/09255580519748673932noreply@blogger.comtag:blogger.com,1999:blog-3524070844260740567.post-32660112902036771422017-04-19T12:44:23.158+05:302017-04-19T12:44:23.158+05:30Given so much information in it. its very useful ....<br /><br />Given so much information in it. its very useful .perfect explanation about Dot net framework.Thanks for your valuable information. <a href="http://www.credosystemz.com/training-in-chennai/best-dotnet-training-in-chennai/" rel="nofollow"> dot net training and placement in chennai </a> | <a href="http://www.credosystemz.com/training-in-chennai/best-dotnet-training-in-chennai/" rel="nofollow">top10 dot net training institutes in chennai </a>Anonymoushttps://www.blogger.com/profile/05835943090042751187noreply@blogger.comtag:blogger.com,1999:blog-3524070844260740567.post-72212098194486161902016-12-26T07:27:43.378+05:302016-12-26T07:27:43.378+05:30This is to show the Difference between the Static ...This is to show the Difference between the Static variable and Static read only variable, not only the sigleton, for singleton you have to just return the value , instead of creating the instance for the same variable . See the last example where i implemented the singleton class previous are just for difference , where and all static readonly will affect , see the last example for singletonDotnetVisiohttps://www.blogger.com/profile/09365297517618959915noreply@blogger.comtag:blogger.com,1999:blog-3524070844260740567.post-21686176224181230772016-12-26T07:27:25.002+05:302016-12-26T07:27:25.002+05:30This is to show the Difference between the Static ...This is to show the Difference between the Static variable and Static read only variable, not only the sigleton, for singleton you have to just return the value , instead of creating the instance for the same variable . See the last example where i implemented the singleton class previous are just for difference , where and all static readonly will affect , see the last example for singletonDotnetVisiohttps://www.blogger.com/profile/09365297517618959915noreply@blogger.comtag:blogger.com,1999:blog-3524070844260740567.post-21733789414869855512016-12-26T07:27:03.954+05:302016-12-26T07:27:03.954+05:30This comment has been removed by the author.DotnetVisiohttps://www.blogger.com/profile/09365297517618959915noreply@blogger.comtag:blogger.com,1999:blog-3524070844260740567.post-36684065441049539572016-12-25T23:37:40.496+05:302016-12-25T23:37:40.496+05:30Rafik is correct. Need to check whether static var...Rafik is correct. Need to check whether static variable is null before creating a new instance. Also may need to consider thread safety. The Lazy class is good for handling this elegantly.Will Morrisonhttps://www.blogger.com/profile/01681705261984219352noreply@blogger.comtag:blogger.com,1999:blog-3524070844260740567.post-27789008465184502252016-12-25T16:37:43.539+05:302016-12-25T16:37:43.539+05:30THis is not the correct implementation of the Sing...THis is not the correct implementation of the Singleton pattern. Everytime the static instance property is called a new instance is created. There has to be a check to see if the instance is not null to create the instance.Rafik Sammanhttps://www.blogger.com/profile/12194581978643640559noreply@blogger.com