UrbanPro
true

Learn C# .NET from the Best Tutors

  • Affordable fees
  • 1-1 or Group class
  • Flexible Timings
  • Verified Tutors

Search in

Learn C# .NET with Free Lessons & Tips

Ask a Question

Post a Lesson

All

All

Lessons

Discussion

Asked on 30/08/2021 Learn C# .NET

Does anyone provide job support in field of C#, C++ ?

Answer

Asked on 22/02/2021 Learn C# .NET

I need C# logic for data starting with 20000 should not end with any character.

Answer

Lesson Posted on 03/09/2019 Learn C# .NET +7 Python Programming Languages Automation Testing Selenium Selenium with Java Java Algorithms And Data Structures

Facebook Analytics

Logeswaran

I am working professional, tutor on my specialised area(Python for Automation & Development). I have...

Assume how the Facebook application will store the millions of customer's record in real-time: facebook = { 'jose': { 'name': 'jose', 'age': 33, 'hobby': , # cricket,football 'mobile': 1111111111, 'email': 'joset@gmail.com', 'contacts':, 'pages': { 'python': {'sudha', 'priyanka'}, 'BusinessMantra':... read more

Assume how the Facebook application will store the millions of customer's record in real-time:

facebook = {
'jose': {
'name': 'jose', 'age': 33,
'hobby': ['cricket', 'python'], # cricket,football
'mobile': 1111111111, 'email': 'joset@gmail.com',
'contacts':[6666666666,3333333333,4444444444],
'pages': {
'python': {'sudha', 'priyanka'},
'BusinessMantra': {'sudha', 'oviya'}
}
},
'sudha': {
'name': 'sudha', 'age': 32, 'hobby': ['Khabadi', 'Movies', chess'],
'mobile': 2222222222, 'email': 'sudha.ram@gmail.com',
'contacts':[5555555555],
'pages':{
'python':{'sudha', 'lok'},
'furnitures': {'chris', 'priyanka'}
}
},
'lok': {
'name': 'lok', 'age': 26, 'hobby': ['python','football'],
'mobile': 3333333333, 'email': 'lok123@gmail.com',
'contacts':[3333333333,7777777777],
'pages':{
'python':{'chris', 'priyanka', 'jose'}
}
},
'priyanka': {
'name': 'priyanka', 'age': 26, 'hobby': 'football',
'mobile': 4444444444, 'email': 'pravi@gmail.com',
'contacts':[5555555555,3333333333,4444444444],
'pages':{'python':{'chris', 'jose'}}
},
'chris': {
'name': 'chris', 'age': 35, 'hobby': 'football',
'mobile': 5555555555, 'email': 'christopher.e@gmail.com',
'contacts':[6666666666,3333333333,4444444444]}
}

 

If you look closely, the above stores 5 persons information in a structured form. Moreover, we can have any value as any type as to learn as much as of python-datatypes, in other terms, the main motive of storing in this structure is to learn all the data-types of python.

Assignment I(Store data):

  1. You have to allow fb-customer to enter multiple hobbies with comma separator(,) and you have to store them as a list in db.
    Ex: 'jose': {'name': 'jose', 'age': '33', 'hobby': ['cricket', 'python']
  2. Sync Contacts: Basically facebook(Messenger) will sync all your contacts to it's database. Here, the user will enter all his contacts(mobile numbers) with comma separator, that you have to store as a list like below,
    input: '6666666666,3333333333,4444444444' and store it in db like the below,
    'contacts':[6666666666,3333333333,4444444444]
  3. Validate the input of mobile number as 10-digit(Ex:9876543210), ask repeatedly if they enter invalid input.
    Ex: Enter you mobile number:88 (if the user entered non 10-digit number, ask them correct mobile number until the valid input)
    Enter valid mobile number: 9876543210
  4. Validate the Email-id with the format of Gmail account
  5. Get the Age and Mobile number as integer input
  6. A customer can run any number of pages, add an item as the above sample into their database with the pages and it's followers(set datatype)

Assignment II(Read operation):

  1. Find the person who has the hobby same as I am looking: List all the customer who has cricket as hobby
  2. Find the Target group for digital advt: A customer approaching FB to promote his page. How will they find the intended audience for the page-suggestion?
    Ex: I wants to promote my 'Python Development&Automation' page, then how will you pick the right person for my page among the millions of user-profile exist in the fb db.
  3. Suggest Friend: We usually get friend suggestion from facebook analytics. Have you ever wonder how does it work..? Let's simulate this.
    As you know the pattern of stored data(facebook), you can classify the category like(same School/Company/Community/Birthplace/CurrentLocation/Contacts)
  4. When the customer posting a status on their page, we have to let this know to all the followers
    Ex: sudha wants to post the status in his ‘furnitures’ page, notify this to all it's followers

 

read less
Comments
Dislike Bookmark

Learn C# .NET from the Best Tutors

  • Affordable fees
  • Flexible Timings
  • Choose between 1-1 and Group class
  • Verified Tutors

Answered on 21/07/2019 Learn C# .NET

Raman

IT Professional Trainer with 12 Years of Experience in IT Industry

Hi Shilpi, it's just my suggestion, you can try online coaching also where you can learn from working professionals.
Answers 2 Comments
Dislike Bookmark

Answered on 05/02/2020 Learn C# .NET +1 C++ Language

Thincor Academy

final class canot be inherited
Answers 8 Comments
Dislike Bookmark

Lesson Posted on 25/09/2018 Learn C# .NET +2 .Net C Sharp

Why a function in C# requires "Return type"??

Raga Deepthi Gade

I am an experienced .NET professional with over 8+ years of experience in teaching C , C# , Asp.Net ,...

- Basically , a Method is a piece of code used for the re-usability purpose. - Method is of 2 types Function and Procedure - Function is a method which returns a value to the calling place Function syntax: <return type> <functionname>(<params> ) { //code } Function... read more

- Basically , a Method is a piece of code used for the re-usability purpose. 

- Method is of 2 types Function and Procedure

Function is a method which returns a value to the calling place

Function syntax:
 
<return type> <functionname>(<params> [ optional ])
{
      //code
}
 
Function samples : 
 
void Display()
{
     Console.WriteLine("Function which returns nothing");
}
 
note : in the above sample , the Display() returns no value, hence "void" is the return type. "void" means nothing.
 
int Add(int a, int b)
{
      return (a+b);
}
 
note : in the above sample , the Add() is returning the sum of 2 numbers passed to it. Means here it is returning an integer value to the calling place.

 

Procedure is a method which returns nothing to the calling place.

Procedure syntax:

<procedurename>(<params>[optional])

{

    //code

}

Procedure samples:

Display()

{

     Console.WriteLine("Procedure returns no value");

}

Add(int a, int b)

{

     Console.WriteLine("Sum : "+(a+b));

}

Hence, a function always returns a value or void to the calling place and a procedure returns nothing.

C# do not support Procedure. So functions in C# should be defined with the return type.

 

 

 

read less
Comments
Dislike Bookmark

Learn C# .NET from the Best Tutors

  • Affordable fees
  • Flexible Timings
  • Choose between 1-1 and Group class
  • Verified Tutors

Lesson Posted on 29/06/2018 Learn C# .NET

What are various validator in ASP.NET 2.0 and features common in all validation control in ASP.NET

Suprio D.

Corporate technology consultant. Having training experience in dot-net platform(3.5 linq, WCF framework,...

Control to validate an error message. Are common feature in all the controls.Various validators are requiredfeild validator ,compare validator ,regular expression validator,custom validator,range validator and validation summary.1. Required field validator asks for the missing field in server side controls... read more

Control to validate an error message. Are common feature in all the controls.

Various validators are requiredfeild validator ,compare validator ,regular expression validator,custom validator,range validator  and validation summary.

1. Required field validator asks for the missing field in server side controls like textboxes dropdowlistot list box or checkboxlist and tells to populate in the form of error message.

2. Compare validator asks for two textboxes or familiar controls to have the exact match of the data types ore expressions.

3. Regular expression validator asks for correct format of email passwords and phone numbers or website address.

4. The custom validator does the same what regular expression validator does additionally it can customize its own features of validation by language coding means.

5.Validation summary. Display list of error messages in the form of bullet list on the top of the registration page etc.

6. Range validator checks whether the data types entered is falling in the correct ranges. Example values between two integer or dates or strings or float currencies etc..

read less
Comments
Dislike Bookmark

Lesson Posted on 28/06/2018 Learn C# .NET

What are Various Types of Exception in C#

Suprio D.

Corporate technology consultant. Having training experience in dot-net platform(3.5 linq, WCF framework,...

ArgumentException, ArgumentNullException, and ArgumentOutOfRangeException. NullReferenceException, IndexOutOfRangeException, SQL exceptions Stack Overflow Exception, Invalid Castexception ArgumentException occurs due to the appearance of invalid argument types argument null exception is due... read more

 

  • ArgumentException, ArgumentNullException, and ArgumentOutOfRangeException.
  • NullReferenceException, IndexOutOfRangeException, SQL exceptions
  • Stack Overflow Exception, Invalid Castexception

ArgumentException occurs due to the appearance of invalid argument types

argument null exception is due to null argument appearances. and out of range is when argument is defined which exceeds within its own bound levels.

null reference exception is when referencing an object you come across null character.

 IndexOutOfRangeException is when the index is defined beyond the actual bound levels. like in arrays. carrying integers of other characters.

sql exception is when mismatch happens between the number of rows or columns or irrelevant data types happens when client-side access the server side. in the database.

InvalidCastexception happens when the wrong type of casting happens between to data types for example between string and integer.

StackOverflowException happens when stacks try to acquire values beyond its own bound levels preassigned.

 

 

 

read less
Comments
Dislike Bookmark

Lesson Posted on 30/03/2018 Learn C# .NET +2 .Net C Sharp

"foreach" loop in C#

Raga Deepthi Gade

I am an experienced .NET professional with over 8+ years of experience in teaching C , C# , Asp.Net ,...

foreach is a looping statement : repeats a group of statements for each element in an array or an object collection. (or) used to iterate through the collection/ an array to get the required information. Advantages: Easy implementation. Least possibility of errors. Syntax: foreach(<datatype... read more

foreach is a looping statement :

  • repeats a group of statements for each element in an array or an object collection. (or)
  • used to iterate through the collection/ an array to get the required information.

Advantages:

  • Easy implementation.
  • Least possibility of errors. [ especially when working with index based values, like in arrays. ]

Syntax:

foreach(<datatype of collection / array> <variablename> <in> <collection/array>)
{

code....

}

Example:

foreach(string courseName in coursesList)
{

code....

}

  • here, coursesList is a string collection
  • string courseName is called as the "loop variable" which represents the element from the collection in each iteration.
  • in is the pre-defined keyword

Working style of foreach loop:

  • data type of loop variable must and should be the same as the data type of the array/collection that has to be referred.
  • At the time of execution, first the foreach loop goes to the array/collection, counts the number of elements & repeats the loop that many times automatically.
  • At each iteration array/collection location value will be copied into loop variable.

Example 1: In the below example, we'll see how to iterate a group of int type array elements using foreach loop.

 

 

Example 2: In the below example, we'll see how to iterate a group of values in a collection.

NOTE : in .NET we've different types of collections. For example we took "List" a generic collection

 

 

read less
Comments 1
Dislike Bookmark

Learn C# .NET from the Best Tutors

  • Affordable fees
  • Flexible Timings
  • Choose between 1-1 and Group class
  • Verified Tutors

Lesson Posted on 27/03/2018 Learn C# .NET +2 .Net .Net Advanced

A very brief introduction to .NET framework

Raga Deepthi Gade

I am an experienced .NET professional with over 8+ years of experience in teaching C , C# , Asp.Net ,...

.NET development has started in the year 2000 , a product of Microsoft. From the begining of .NET development till now, it has got many RAD facilities. Why .NET? developed for distributed computing applications , later due it's advantages and features started using for the development of desktop... read more

.NET development has started in the year 2000 , a product of Microsoft. From the begining of .NET development till now, it has got many RAD [ rapid application development ] facilities. 

 

Why .NET?

developed for distributed computing applications [ which access the data from any centralized locations ] , later due it's advantages and features started using for the development of desktop applications , web applications , mobile applications etc,.

 

What is .NET?

It's a framework which creates a "runtime environment" for .NET based applications.

Supports 61 programming languages like C# , Vb.net , F# etc,.

 

Components of .NET framework:

  1. CLR [ common language runtime ] - which provides all the facilities and features to the .net application at the time of execution to execute the code. 
  2. Assemblies / Base class libraries [BCL] - collection of types and resources that forms a logical unit of functionality. Also , known as building blocks for the .net applications and are self-describing in nature. 
read less
Comments
Dislike Bookmark

About UrbanPro

UrbanPro.com helps you to connect with the best C# .NET in India. Post Your Requirement today and get connected.

Overview

Questions 14

Lessons 22

Total Shares  

+ Follow 28,482 Followers

Top Contributors

Connect with Expert Tutors & Institutes for C# .NET

x

Ask a Question

Please enter your Question

Please select a Tag

X

Looking for C# .NET Classes?

The best tutors for C# .NET Classes are on UrbanPro

  • Select the best Tutor
  • Book & Attend a Free Demo
  • Pay and start Learning

Learn C# .NET with the Best Tutors

The best Tutors for C# .NET Classes are on UrbanPro

This website uses cookies

We use cookies to improve user experience. Choose what cookies you allow us to use. You can read more about our Cookie Policy in our Privacy Policy

Accept All
Decline All

UrbanPro.com is India's largest network of most trusted tutors and institutes. Over 55 lakh students rely on UrbanPro.com, to fulfill their learning requirements across 1,000+ categories. Using UrbanPro.com, parents, and students can compare multiple Tutors and Institutes and choose the one that best suits their requirements. More than 7.5 lakh verified Tutors and Institutes are helping millions of students every day and growing their tutoring business on UrbanPro.com. Whether you are looking for a tutor to learn mathematics, a German language trainer to brush up your German language skills or an institute to upgrade your IT skills, we have got the best selection of Tutors and Training Institutes for you. Read more